CVE-2021-40574: gpac Double Free
Vulnerability summary
CVE-2021-40574 is a high (CVSS 7.8) Double Free vulnerability in gpac. EPSS estimates a 1.42% chance of exploitation in the next 30 days, higher than 73.8% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1Timeline
- 13-01-2022PublishedVulnerability first disclosed.
- 05-03-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.42%
Chance of exploitation in the next 30 days
Percentile
74%
Versus all other CVEs
30-day change
Increase +0.10 pp
From 1.32% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundGpac
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- gpac< 1.0.1+dfsg1-4+deb11u2
Gpac1 product
- gpac≥ 0.9.0, ≤ 1.0.1
Ubuntu1 product
- gpacAll versions (No fix recorded)
3 vendors · 3 products