{"id":"CVE-2021-40565","details":"A Segmentation fault caused by a null pointer dereference vulnerability exists in Gpac through 1.0.1 via the gf_avc_parse_nalu function in av_parsers.c when using mp4box, which causes a denial of service.","modified":"2026-04-11T21:23:26.402894Z","published":"2022-01-12T22:15:07.890Z","references":[{"type":"ADVISORY","url":"https://github.com/gpac/gpac/issues/1902"},{"type":"ADVISORY","url":"https://www.debian.org/security/2023/dsa-5411"},{"type":"FIX","url":"https://github.com/gpac/gpac/commit/893fb99b606eebfae46cde151846a980e689039b"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gpac/gpac","events":[{"introduced":"0"},{"last_affected":"d8538e8ae946b32d99c6b2c57cbb327146e9cd9d"},{"fixed":"893fb99b606eebfae46cde151846a980e689039b"}],"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":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40565.json","vanir_signatures":[{"source":"https://github.com/gpac/gpac/commit/893fb99b606eebfae46cde151846a980e689039b","signature_version":"v1","id":"CVE-2021-40565-23cf188a","deprecated":false,"digest":{"length":4132,"function_hash":"335139963073710083307518464564153621026"},"signature_type":"Function","target":{"function":"gf_avc_parse_nalu","file":"src/media_tools/av_parsers.c"}},{"source":"https://github.com/gpac/gpac/commit/893fb99b606eebfae46cde151846a980e689039b","signature_version":"v1","id":"CVE-2021-40565-5f5519ab","deprecated":false,"digest":{"line_hashes":["153580916275024851464425229044186991413","89277541988750827498244866193382836173","58821412537713668385346327648233806553","48322499738277173370318441782040572189"],"threshold":0.9},"signature_type":"Line","target":{"file":"src/media_tools/av_parsers.c"}}],"vanir_signatures_modified":"2026-04-11T21:23:26Z"}}],"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"}]}