GPAC 1.0.1 MP4Box load_text.c gf_text_get_utf8_line double free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.6$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.6
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Double free
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 253214
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2021-40574

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: 30ac5e5236b790accd1f25347eebf2dc8c6c1bcb

Timelineinfo

09/07/2021 🔍
01/14/2022 +129 days 🔍
01/14/2022 +0 days 🔍
08/24/2025 +1318 days 🔍

Sourcesinfo

Product: github.com

Advisory: 1897
Status: Confirmed

CVE: CVE-2021-40574 (🔍)
GCVE (CVE): GCVE-0-2021-40574
GCVE (VulDB): GCVE-100-190355

Entryinfo

Created: 01/14/2022 11:07
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!