Medium
Security advisory
In the adts_dmx_process function in filters/reframe_adts.c in GPAC 1.0.1, a crafted file may cause ctx->hdr.frame_size to be smaller than ctx->hdr.hdr_size, resulting in size to be a negative number and a heap overflow in the memcpy.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-30019
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:43 UTC · Revision 1
Source evidence
In the adts_dmx_process function in filters/reframe_adts.c in GPAC 1.0.1, a crafted file may cause ctx->hdr.frame_size to be smaller than ctx->hdr.hdr_size, resulting in size to be a negative number and a heap overflow in the memcpy.
osv:CVE-2021-30019
Complete source record
{
"id": "8c779d610ab4489ed16bb84e5adc0d1fcf2e15a029eaad319e7c053c96cba1b9",
"url": "https://osv.dev/vulnerability/CVE-2021-30019",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-30019",
"summary": "In the adts_dmx_process function in filters/reframe_adts.c in GPAC 1.0.1, a crafted file may cause ctx->hdr.frame_size to be smaller than ctx->hdr.hdr_size, resulting in size to be a negative number and a heap overflow in the memcpy.",
"evidence": "osv:CVE-2021-30019",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-30019",
"aliases": [
"CVE-2021-30019"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/gpac/gpac",
"type": "GIT",
"events": [
{
"introduced": "d8538e8ae946b32d99c6b2c57cbb327146e9cd9d"
},
{
"last_affected": "d8538e8ae946b32d99c6b2c57cbb327146e9cd9d"
},
{
"fixed": "22774aa9e62f586319c8f107f5bae950fed900bc"
}
],
"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"
},
{
"range": [
{
"fixed": "22774aa9e62f586319c8f107f5bae950fed900bc"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"1.0.1",
"v1.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-30019.json",
"vanir_signatures": [
{
"id": "CVE-2021-30019-471ca0eb",
"digest": {
"length": 7358,
"function_hash": "227599067399516482075011625574724207137"
},
"source": "https://github.com/gpac/gpac/commit/22774aa9e62f586319c8f107f5bae950fed900bc",
"target": {
"file": "src/filters/reframe_adts.c",
"function": "adts_dmx_process"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2021-30019-657131c2",
"digest": {
"threshold": 0.9,
"line_hashes": [
"197185477795747438075566840701096839964",
"133582088252870862700942709230991040706",
"111509101733101854599458563419876650348"
]
},
"source": "https://github.com/gpac/gpac/commit/22774aa9e62f586319c8f107f5bae950fed900bc",
"target": {
"file": "src/filters/reframe_adts.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T14:22:30Z"
}
}
],
"modified": "2026-10-20T14:22:30.908912638Z",
"provider": "osv",
"references": [
"https://github.com/gpac/gpac/commit/22774aa9e62f586319c8f107f5bae950fed900bc",
"https://github.com/gpac/gpac/issues/1723"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-30019",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388835,
"published_at": "2021-04-19T20:15:14.49+00:00"
}