# CVE-2021-40574

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-01-13 · Modified: 2025-03-05
- Aliases: UBUNTU-CVE-2021-40574, DEBIAN-CVE-2021-40574
- Record: https://cvemate.com/vulnerability/CVE-2021-40574 · JSON: https://cvemate.com/vulnerability/CVE-2021-40574/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 1.424%, percentile 73.826%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian gpac (Debian): \< 1.0.1+dfsg1-4+deb11u2
- ubuntu gpac (Ubuntu): All versions (No fix recorded)
- gpac gpac: ≥ 0.9.0, ≤ 1.0.1

## References

- <https://github.com/gpac/gpac/issues/1897>
- <https://github.com/gpac/gpac/commit/30ac5e5236b790accd1f25347eebf2dc8c6c1bcb>
- <https://www.debian.org/security/2023/dsa-5411>
- <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://ubuntu.com/security/CVE-2021-40574>
- <https://www.cve.org/CVERecord?id=CVE-2021-40574>
- <https://security-tracker.debian.org/tracker/CVE-2021-40574>

---

Data as of 2026-12-05T06:32:55.530Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
