CVE-2021-21843: GPAC Project on Advanced Content library - Integer Overflow
- Cve: CVE-2021-21843
- 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 can cause an integer overflow due to unchecked arithmetic resulting in a heap-based buffer overflow that causes memory corruption. After validating the number of ranges, at [41] the library will multiply the count by the size of the GF_SubsegmentRangeInfo structure. On a 32-bit platform, this multiplication can result in an integer overflow causing the space of the array being allocated to be less than expected. An attacker can convince a user to open a video to trigger this vulnerability.
- Impact: Memory corruption can lead to arbitrary code execution or application crash when successfully exploited.
- Remediation: Update to the latest version of GPAC Project on Advanced Content library that addresses this vulnerability.
- 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.0201
- Epss percentile: 0.81257
- Assignee: [email protected]
- Published at: 2021-08-18T13:15:07Z
- Age in days: 1924
- Modified at: 2026-06-17T03:36:13Z
- Public exploits total: 2
- References total: 3
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-21843
- 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-18 |
| https://www.talosintelligence.com/vulnerability_reports/TALOS-2021-1297 | nvd | 2021-08-18 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://talosintelligence.com/vulnerability_reports/TALOS-2021-1297 | Exploit, Technical Description, Third Party Advisory |
| https://www.talosintelligence.com/vulnerability_reports/TALOS-2021-1297 | Exploit, Technical Description, Third Party Advisory |
| https://www.debian.org/security/2021/dsa-4966 | 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: 2
- Public exploit first date: 2021-08-18
- 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