Security advisory
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 “csgp” decoder sample group description indices 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-21851
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:42 UTC · Revision 1
Source evidence
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 “csgp” decoder sample group description indices 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.
osv:CVE-2021-21851
Complete source record
{
"id": "d6450cae5ebe9ea8eb0364102eb7009e201122ae3b52465a247d819af0bd1820",
"url": "https://osv.dev/vulnerability/CVE-2021-21851",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-21851",
"summary": "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 “csgp” decoder sample group description indices 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.",
"evidence": "osv:CVE-2021-21851",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-21851",
"aliases": [
"CVE-2021-21851"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/gpac/gpac",
"type": "GIT",
"events": [
{
"introduced": "d8538e8ae946b32d99c6b2c57cbb327146e9cd9d"
},
{
"last_affected": "d8538e8ae946b32d99c6b2c57cbb327146e9cd9d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gpac:gpac:1.0.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.0.1"
},
{
"last_affected": "1.0.1"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.0.1",
"v1.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21851.json"
}
}
],
"modified": "2026-10-24T10:30:32.536274208Z",
"provider": "osv",
"references": [
"https://talosintelligence.com/vulnerability_reports/TALOS-2021-1297",
"https://www.talosintelligence.com/vulnerability_reports/TALOS-2021-1297"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-21851",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 433052,
"published_at": "2021-08-18T13:15:07.847+00:00"
}