{"id":"CVE-2021-30019","details":"In the adts_dmx_process function in filters/reframe_adts.c in GPAC 1.0.1, a crafted file may cause ctx-\u003ehdr.frame_size to be smaller than ctx-\u003ehdr.hdr_size, resulting in size to be a negative number and a heap overflow in the memcpy.","modified":"2026-08-03T14:35:08.018029Z","published":"2021-04-19T20:15:14.490Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"1.0.1"},{"last_affected":"1.0.1"}],"source":"CPE_STRING","vendor_product":"gpac:gpac","cpes":["cpe:2.3:a:gpac:gpac:1.0.1:*:*:*:*:*:*:*"]}]},"references":[{"type":"FIX","url":"https://github.com/gpac/gpac/commit/22774aa9e62f586319c8f107f5bae950fed900bc"},{"type":"EVIDENCE","url":"https://github.com/gpac/gpac/issues/1723"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gpac/gpac","events":[{"introduced":"0"},{"fixed":"22774aa9e62f586319c8f107f5bae950fed900bc"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v1.0.0","v0.9.0","v0.9.0-preview","v0.6.0","v0.5.2"],"database_specific":{"vanir_signatures":[{"id":"CVE-2021-30019-471ca0eb","signature_type":"Function","signature_version":"v1","source":"https://github.com/gpac/gpac/commit/22774aa9e62f586319c8f107f5bae950fed900bc","target":{"function":"adts_dmx_process","file":"src/filters/reframe_adts.c"},"deprecated":false,"digest":{"function_hash":"227599067399516482075011625574724207137","length":7358}},{"digest":{"line_hashes":["197185477795747438075566840701096839964","133582088252870862700942709230991040706","111509101733101854599458563419876650348"],"threshold":0.9},"id":"CVE-2021-30019-657131c2","signature_type":"Line","signature_version":"v1","source":"https://github.com/gpac/gpac/commit/22774aa9e62f586319c8f107f5bae950fed900bc","target":{"file":"src/filters/reframe_adts.c"},"deprecated":false}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-30019.json","vanir_signatures_modified":"2026-08-03T14:35:08Z"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}