{"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-03T14:35:18.113838Z","published":"2022-01-12T22:15:07.890Z","database_specific":{"unresolved_ranges":[{"source":"CPE_RANGE","vendor_product":"gpac:gpac","cpes":["cpe:2.3:a:gpac:gpac:*:*:*:*:*:*:*:*"],"extracted_events":[{"last_affected":"1.0.1"}]},{"extracted_events":[{"fixed":"1.0.1"}],"source":"DESCRIPTION"}]},"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"},{"fixed":"893fb99b606eebfae46cde151846a980e689039b"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v1.0.0","v0.9.0","v0.9.0-preview","v0.6.0","v0.5.2"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-40565.json","vanir_signatures_modified":"2026-08-03T14:35:18Z","vanir_signatures":[{"source":"https://github.com/gpac/gpac/commit/893fb99b606eebfae46cde151846a980e689039b","target":{"function":"gf_avc_parse_nalu","file":"src/media_tools/av_parsers.c"},"deprecated":false,"digest":{"function_hash":"335139963073710083307518464564153621026","length":4132},"id":"CVE-2021-40565-23cf188a","signature_type":"Function","signature_version":"v1"},{"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},"id":"CVE-2021-40565-5f5519ab"}]}}],"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"}]}