{"id":"JLSEC-2026-2178","summary":"FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap out-of-bounds write vulnerability in the...","details":"FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap out-of-bounds write vulnerability in the APAC decoder in `libavcodec/apac.c` caused by an unreset bitstream index. Attackers can supply a crafted APAC file whose growing `bitstream_index` triggers an integer overflow, bypassing the reallocation check so memcpy() corrupts heap memory or crashes the application.","modified":"2026-12-02T21:28:26.918931506Z","published":"2026-12-02T21:05:33.549Z","upstream":["CVE-2026-125267","EUVD-2026-120217","GHSA-crxj-w795-w2wj"],"database_specific":{"sources":[{"published":"2026-11-09T20:18:13.383Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-125267","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125267","database_specific":{"status":"Analyzed"},"affected":{"ffmpeg:ffmpeg":["\u003c 8.1.3","\u003e= 9.0, \u003c 9.0.2"]},"id":"CVE-2026-125267","imported":"2026-12-02T20:13:53.542Z","modified":"2026-11-25T15:07:26.547Z"},{"id":"GHSA-crxj-w795-w2wj","imported":"2026-12-02T20:15:36.059Z","modified":"2026-11-09T21:32:10Z","published":"2026-11-09T21:32:07Z","url":"https://api.github.com/advisories/GHSA-crxj-w795-w2wj","html_url":"https://github.com/advisories/GHSA-crxj-w795-w2wj"},{"modified":"2026-11-10T19:08:08Z","published":"2026-11-09T19:12:08Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-120217","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120217","affected":{"FFMPEG:FFmpeg":["0 \u003c8.1.3","9.0 \u003c9.0.2"]},"id":"EUVD-2026-120217","imported":"2026-12-02T20:13:54.810Z"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24432"},{"type":"WEB","url":"https://github.com/FFmpeg/FFmpeg"},{"type":"WEB","url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/apac.c#L146"},{"type":"WEB","url":"https://github.com/FFmpeg/FFmpeg/commit/e15ddb7f9a2f9b3ab8ac305efb6f94ddc18463d0"},{"type":"WEB","url":"https://github.com/advisories/GHSA-crxj-w795-w2wj"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125267"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-heap-out-of-bounds-write-via-apac-decoder"}],"affected":[{"package":{"name":"FFMPEG_jll","ecosystem":"Julia","purl":"pkg:julia/FFMPEG_jll?uuid=b22a6f82-2f65-5046-a5b2-351ab43fb4e5"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"9.0.2+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2178.json"}},{"package":{"name":"FFMPEG_nogpl_jll","ecosystem":"Julia","purl":"pkg:julia/FFMPEG_nogpl_jll?uuid=a6892c6b-5768-548c-b024-ff8dabf482c5"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"9.0.2+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2178.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CNA"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"CNA"}]}