{"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-08-07T16:58:06.957751Z","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":{"cpe":"cpe:2.3:a:gpac:gpac:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"1.0.1"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v1.0.1","v1.0.0","v0.9.0","v0.9.0-preview","v0.7.1","v0.7.0","v0.6.0","v0.5.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40565.json","vanir_signatures_modified":"2026-08-07T16:58:06Z","vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"335139963073710083307518464564153621026","length":4132},"id":"CVE-2021-40565-23cf188a","signature_type":"Function","signature_version":"v1","source":"https://github.com/gpac/gpac/commit/893fb99b606eebfae46cde151846a980e689039b","target":{"file":"src/media_tools/av_parsers.c","function":"gf_avc_parse_nalu"}},{"id":"CVE-2021-40565-5f5519ab","signature_type":"Line","signature_version":"v1","source":"https://github.com/gpac/gpac/commit/893fb99b606eebfae46cde151846a980e689039b","target":{"file":"src/media_tools/av_parsers.c"},"deprecated":false,"digest":{"line_hashes":["153580916275024851464425229044186991413","89277541988750827498244866193382836173","58821412537713668385346327648233806553","48322499738277173370318441782040572189"],"threshold":0.9}}]}}],"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"}]}