{"id":"JLSEC-2026-2199","summary":"FFmpeg before 9.1 contains a heap-based buffer overflow vulnerability in peak_init_writer() and...","details":"FFmpeg before 9.1 contains a heap-based buffer overflow vulnerability in `peak_init_writer()` and `wav_write_packet()` in `libavformat/wavenc.c` that allows attackers to corrupt heap memory by supplying audio with zero channels. Attackers can provide a crafted PCM stream declaring no channels for WAV output with peak envelope enabled, causing out-of-bounds writes past `peak_maxpos` and `peak_maxneg` arrays, crashes, and potential code execution.","modified":"2026-12-02T21:28:26.116825845Z","published":"2026-12-02T21:05:33.549Z","upstream":["CVE-2026-135722","EUVD-2026-133627","GHSA-6g37-r68h-8wh2"],"database_specific":{"sources":[{"database_specific":{"status":"Analyzed"},"affected":{"ffmpeg:ffmpeg":["\u003c 9.1"]},"id":"CVE-2026-135722","imported":"2026-12-02T20:13:53.565Z","modified":"2026-11-28T04:17:04.613Z","published":"2026-11-24T04:17:30.013Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-135722","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135722"},{"html_url":"https://github.com/advisories/GHSA-6g37-r68h-8wh2","id":"GHSA-6g37-r68h-8wh2","imported":"2026-12-02T20:15:18.027Z","modified":"2026-11-24T06:30:34Z","published":"2026-11-24T06:30:33Z","url":"https://api.github.com/advisories/GHSA-6g37-r68h-8wh2"},{"modified":"2026-11-28T03:37:33Z","published":"2026-11-24T03:13:53Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-133627","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-133627","affected":{"FFMPEG:FFmpeg":["0 \u003c9.1"]},"id":"EUVD-2026-133627","imported":"2026-12-02T20:13:54.579Z"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932"},{"type":"WEB","url":"https://github.com/FFmpeg/FFmpeg"},{"type":"WEB","url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/wavenc.c#L391"},{"type":"WEB","url":"https://github.com/FFmpeg/FFmpeg/commit/0b1c279b62af82e422e3fc21ba6cc2fc3154dc76"},{"type":"WEB","url":"https://github.com/advisories/GHSA-6g37-r68h-8wh2"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135722"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/ffmpeg-before-9.1-heap-buffer-overflow-via-wav-muxer-peak-envelope-writer"}],"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.1.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2199.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.1.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2199.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"}]}