7.8

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.

Overall risk
41/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
1.32%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 13-01-2022
    PublishedVulnerability first disclosed.
  2. 05-03-2025
    Last 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

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 score
1.32%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Gpac

    Maturity: poc

Weaknesses

CWE · root cause

Affected 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

References

8 links