GPAC 1.0.1 MP4Box load_text.c gf_text_get_utf8_line double free
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.6 | $0-$5k | 0.00 |
Summary
A vulnerability marked as problematic has been reported in GPAC 1.0.1. Affected by this vulnerability is the function gf_text_get_utf8_line of the file load_text.c of the component MP4Box. The manipulation leads to double free.
This vulnerability is referenced as CVE-2021-40574. No exploit is available.
To fix this issue, it is recommended to deploy a patch.
Details
A vulnerability was found in GPAC 1.0.1 and classified as problematic. This issue affects the function gf_text_get_utf8_line of the file load_text.c of the component MP4Box. The manipulation with an unknown input leads to a double free vulnerability. Using CWE to declare the problem leads to CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations. Impacted is availability.
The weakness was published 01/14/2022 as 1897. It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2021-40574 since 09/07/2021. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 253214 (Linux Distros Unpatched Vulnerability : CVE-2021-40574), which helps to determine the existence of the flaw in a target environment.
Applying the patch 30ac5e5236b790accd1f25347eebf2dc8c6c1bcb is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the vulnerability database at Tenable (253214). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
License
Website
- Product: https://github.com/gpac/gpac/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.6VulDB Meta Temp Score: 5.6
VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Double freeCWE: CWE-415 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 253214
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2021-40574
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 30ac5e5236b790accd1f25347eebf2dc8c6c1bcb
Timeline
09/07/2021 🔍01/14/2022 🔍
01/14/2022 🔍
08/24/2025 🔍
Sources
Product: github.comAdvisory: 1897
Status: Confirmed
CVE: CVE-2021-40574 (🔍)
GCVE (CVE): GCVE-0-2021-40574
GCVE (VulDB): GCVE-100-190355
Entry
Created: 01/14/2022 11:07Updated: 08/24/2025 21:46
Changes: 01/14/2022 11:07 (42), 01/17/2022 07:09 (1), 01/17/2022 07:16 (18), 03/06/2025 01:07 (16), 08/24/2025 21:46 (2)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.