CVE-2021-40570: Gpac - Use After Free
- Cve: CVE-2021-40570
- Name: Gpac - Use After Free
- Description: The binary MP4Box in Gpac 1.0.1 has a double-free vulnerability in the avc_compute_poc function in av_parsers.c, which allows attackers to cause a denial of service, even code execution and escalation of privileges.
- Impact: Attackers can cause denial of service, execute arbitrary code, and escalate privileges on the affected system.
- Remediation: Update to the latest version of Gpac that addresses this issue or apply patches if available.
- Vulnerability type: use_after_free
- Vulnerability impact: denial_of_service, remote_code_execution, privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.01289
- Epss percentile: 0.70968
- Assignee: [email protected]
- Published at: 2022-01-13T18:15:08Z
- Age in days: 1776
- Modified at: 2026-06-17T04:07:08Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-40570
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-415 | Double Free |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/gpac/gpac/issues/1899 | nvd | 2022-01-13 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/gpac/gpac/commit/04dbf08bff4d61948bab80c3f9096ecc60c7f302 | Patch, Third Party Advisory |
| https://github.com/gpac/gpac/issues/1899 | Exploit, Issue Tracking, Third Party Advisory |
| https://www.debian.org/security/2023/dsa-5411 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gpac:gpac | = 1.0.1 | no | nvd | /v1/products/gpac/gpac |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| gpac/gpac | commit, fix, issues | yes | /v1/repositories/gpac/gpac |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-01-13
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts