CVE-2021-40574
Severity CVSS v4.0:
Pending analysis
Type:
CWE-415
Double Free
Publication date:
13/01/2022
Last modified:
05/03/2025
Description
The binary MP4Box in Gpac from 0.9.0-preview to 1.0.1 has a double-free vulnerability in the gf_text_get_utf8_line function in load_text.c, which allows attackers to cause a denial of service, even code execution and escalation of privileges.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Base Score 2.0
6.80
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:gpac:gpac:*:*:*:*:*:*:*:* | 0.9.0 (including) | 1.0.1 (including) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://github.com/gpac/gpac/blob/v0.9.0-preview/src/filters/load_text.c#L232
- https://github.com/gpac/gpac/blob/v0.9.0-preview/src/filters/load_text.c#L304
- https://github.com/gpac/gpac/commit/30ac5e5236b790accd1f25347eebf2dc8c6c1bcb
- https://github.com/gpac/gpac/issues/1897
- https://www.debian.org/security/2023/dsa-5411
- https://github.com/gpac/gpac/commit/30ac5e5236b790accd1f25347eebf2dc8c6c1bcb
- https://github.com/gpac/gpac/issues/1897
- https://www.debian.org/security/2023/dsa-5411



