{"id":"CVE-2026-135712","aliases":[],"title":"FFmpeg before 9.1 Integer Overflow Out-of-Bounds Read via img2enc.c write_packet()","originalDescription":"FFmpeg before 9.1 contains an integer overflow vulnerability in the split_planes size check of write_packet() in libavformat/img2enc.c that allows out-of-bounds heap reads. Attackers can supply a crafted input whose rawvideo stream declares very large width and height, remuxed into .y image files, to leak heap memory into output files or crash the application.","severity":{"cvss":6.9,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00446,"percentile":0.30679},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"FFmpeg","range":">=0, <9.1","fixed":"9.1"}],"references":[{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932","type":"issue-tracking"},{"url":"https://github.com/FFmpeg/FFmpeg/commit/ff53919a2d8442058d58ba0e83d16cc9e29d73fb","type":"patch"},{"url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/img2enc.c#L214","type":"technical-description"},{"url":"https://github.com/FFmpeg/FFmpeg","type":"product"},{"url":"https://www.vulncheck.com/advisories/ffmpeg-before-9.1-integer-overflow-out-of-bounds-read-via-img2enc-c-write-packet","type":"third-party-advisory"},{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg","type":"web"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135712.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135712","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-25T19:19:23.464Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135712","license":"NVD terms of use","firstSeenAt":"2026-11-24T04:41:38.461Z"},{"name":"osv","at":"2026-11-26T21:12:14.845Z","url":"https://osv.dev/vulnerability/CVE-2026-135712","license":"CC-BY 4.0","firstSeenAt":"2026-11-24T05:15:21.771Z"},{"name":"cvelistV5","at":"2026-11-29T06:24:29.387Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-135712","license":"CVE Terms of Use","firstSeenAt":"2026-11-24T03:33:23.121Z"}],"firstSeenAt":"2026-11-24T03:33:23.121Z","publishedAt":"2026-11-24T03:14:04.405Z","modifiedAt":"2026-11-26T21:01:53.499Z"}