CVE-2021-21852: GPAC Project on Advanced Content library - Integer Overflow
- Cve: CVE-2021-21852
- Name: GPAC Project on Advanced Content library - Integer Overflow
- Description: Multiple exploitable integer overflow vulnerabilities exist within the MPEG-4 decoding functionality of the GPAC Project on Advanced Content library v1.0.1. A specially crafted MPEG-4 input at “stss” decoder can cause an integer overflow due to unchecked arithmetic resulting in a heap-based buffer overflow that causes memory corruption. An attacker can convince a user to open a video to trigger this vulnerability.
- Impact: Attackers can cause memory corruption and potential arbitrary code execution by exploiting heap buffer overflows.
- Remediation: Update to the latest version of GPAC Project on Advanced Content library.
- Vulnerability type: integer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: user_interaction
- Requirements: Attacker needs user to open a malicious video
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.01993
- Epss percentile: 0.81087
- Assignee: [email protected]
- Published at: 2021-08-18T13:15:07Z
- Age in days: 1924
- Modified at: 2026-06-17T03:36:14Z
- Public exploits total: 2
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-21852
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-680 | Integer Overflow to Buffer Overflow |
| CWE-190 | Integer Overflow or Wraparound |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://talosintelligence.com/vulnerability_reports/TALOS-2021-1297 | nvd | 2021-08-18 |
| https://www.talosintelligence.com/vulnerability_reports/TALOS-2021-1297 | nvd | 2021-08-18 |
References
| Url | Source | Tags |
|---|---|---|
| https://talosintelligence.com/vulnerability_reports/TALOS-2021-1297 | nvd | Exploit, Technical Description, Third Party Advisory |
| https://www.debian.org/security/2023/dsa-5411 | nvd |
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 | fix | yes | /v1/repositories/gpac/gpac |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2021-08-18
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts