CVE-2021-21848: GPAC Project on Advanced Content library - Integer Overflow
- Cve: CVE-2021-21848
- Name: GPAC Project on Advanced Content library - Integer Overflow
- Description: An exploitable integer overflow vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Advanced Content library v1.0.1. The library will actually reuse the parser for atoms with the “stsz” FOURCC code when parsing atoms that use the “stz2” FOURCC code and 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: Memory corruption and potential arbitrary code execution or crash when successfully exploited.
- 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.0171
- Epss percentile: 0.77823
- Assignee: [email protected]
- Published at: 2021-08-25T19:15:09Z
- Age in days: 1917
- Modified at: 2026-06-17T03:36:13Z
- Public exploits total: 1
- References total: 2
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-21848
- 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-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://talosintelligence.com/vulnerability_reports/TALOS-2021-1297 | nvd | 2021-08-25 |
References
| Url | Source | Tags |
|---|---|---|
| https://talosintelligence.com/vulnerability_reports/TALOS-2021-1297 | nvd | Exploit, Third Party Advisory |
| https://www.debian.org/security/2021/dsa-4966 | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gpac:gpac | = 1.0.1 | no | nvd | /v1/products/gpac/gpac |
| debian:debian_linux | = 11.0, = 10.0 | no | nvd | /v1/products/debian/debian_linux |
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: 1
- Public exploit first date: 2021-08-25
- Remote: yes
- Exposed hosts: 4739835
- 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