{"id":"CVE-2021-31259","details":"The gf_isom_cenc_get_default_info_internal function in GPAC 1.0.1 allows attackers to cause a denial of service (NULL pointer dereference) via a crafted file in the MP4Box command.","modified":"2026-04-11T17:12:25.061200Z","published":"2021-04-19T19:15:18.373Z","references":[{"type":"FIX","url":"https://github.com/gpac/gpac/commit/3b84ffcbacf144ce35650df958432f472b6483f8"},{"type":"EVIDENCE","url":"https://github.com/gpac/gpac/issues/1735"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gpac/gpac","events":[{"introduced":"0"},{"last_affected":"d8538e8ae946b32d99c6b2c57cbb327146e9cd9d"},{"fixed":"3b84ffcbacf144ce35650df958432f472b6483f8"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"1.0.1"}]}}],"versions":["v0.5.2","v0.6.0","v0.7.0","v0.7.1","v0.9.0","v0.9.0-preview","v1.0.0","v1.0.1"],"database_specific":{"vanir_signatures":[{"target":{"function":"gf_isom_cenc_get_default_info_internal","file":"src/isomedia/drm_sample.c"},"signature_version":"v1","signature_type":"Function","digest":{"function_hash":"194900872968720504231064561781610806919","length":3346},"id":"CVE-2021-31259-118d900e","source":"https://github.com/gpac/gpac/commit/3b84ffcbacf144ce35650df958432f472b6483f8","deprecated":false},{"target":{"file":"src/isomedia/drm_sample.c"},"signature_version":"v1","signature_type":"Line","digest":{"threshold":0.9,"line_hashes":["136990590939125206256389029610438661067","45083827786965863177665328271459477456","186912125732759054483704277177209138439","241148111799687164755509678443587502638"]},"id":"CVE-2021-31259-6af4de61","source":"https://github.com/gpac/gpac/commit/3b84ffcbacf144ce35650df958432f472b6483f8","deprecated":false}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31259.json","vanir_signatures_modified":"2026-04-11T17:12:25Z"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}