CVE-2021-40574: gpac Double Free
CVSS: 7.8v3.1HighAnalyzed
AliasesUBUNTU-CVE-2021-40574DEBIAN-CVE-2021-40574
Published 13-01-2022Last modified 05-03-2025
Vulnerability summary
CVE-2021-40574 is a high (CVSS 7.8) Double Free vulnerability in gpac. EPSS estimates a 1.32% chance of exploitation in the next 30 days, higher than 70.5% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
7.8/10
010
High · v3.1 (NVD)EPSS score
1.32%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github
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 versionsHigh 7.8Preferred score · NVD (NIST)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HSourcesAll 3 agree
- 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
Medium 6.8Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
1.32%
Chance of exploitation in the next 30 days
Percentile
71%
Versus all other CVEs
30-day change
0.00 pp
From 1.32% on 19-09-2026
19-09-202619-10-2026
EPSS score1.32%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundGpac
Maturity: poc
Weaknesses
CWE · root causeAffected systems
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