{"id":"CVE-2018-12459","details":"An inconsistent bits-per-sample value in the ff_mpeg4_decode_picture_header function in libavcodec/mpeg4videodec.c in FFmpeg 4.0 may trigger an assertion violation while converting a crafted AVI file to MPEG4, leading to a denial of service.","modified":"2026-04-11T06:58:44.629052Z","published":"2018-06-15T15:29:00.280Z","references":[{"type":"FIX","url":"https://github.com/FFmpeg/FFmpeg/commit/2fc108f60f98cd00813418a8754a46476b404a3c"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ffmpeg/ffmpeg","events":[{"introduced":"0"},{"last_affected":"ace829cb45cff530b8a0aed6adf18f329d7a98f6"},{"fixed":"2fc108f60f98cd00813418a8754a46476b404a3c"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"4.0"}]}}],"versions":["N","n0.11-dev","n0.12-dev","n0.8","n1.1-dev","n1.2-dev","n1.3-dev","n2.0","n2.1-dev","n2.2-dev","n2.3-dev","n2.4-dev","n2.5-dev","n2.6-dev","n2.7-dev","n2.8-dev","n2.9-dev","n3.1-dev","n3.2-dev","n3.3-dev","n3.4-dev","n3.5-dev","n4.0","n4.1-dev"],"database_specific":{"vanir_signatures_modified":"2026-04-11T06:58:44Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12459.json","vanir_signatures":[{"digest":{"length":4722,"function_hash":"293953060746545110115995344497464201232"},"signature_type":"Function","target":{"file":"libavcodec/mpeg4videodec.c","function":"ff_mpeg4_decode_picture_header"},"source":"https://github.com/ffmpeg/ffmpeg/commit/2fc108f60f98cd00813418a8754a46476b404a3c","signature_version":"v1","id":"CVE-2018-12459-57d6d724","deprecated":false},{"digest":{"line_hashes":["276984771347048471388697408929656823427","40868172712932210822047402219494391158","108981795129314371954512303332135972338"],"threshold":0.9},"signature_type":"Line","target":{"file":"libavcodec/mpeg4videodec.c"},"source":"https://github.com/ffmpeg/ffmpeg/commit/2fc108f60f98cd00813418a8754a46476b404a3c","signature_version":"v1","id":"CVE-2018-12459-bd8e4d38","deprecated":false}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}