CVE-2026-135712
FFmpeg before 9.1 Integer Overflow Out-of-Bounds Read via img2enc.c write_packet()
CVSS Score
6.1
EPSS Score
0.2%
EPSS Percentile
6th
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.
| CWE | CWE-190 |
| Vendor | ffmpeg |
| Product | ffmpeg |
| Published | Nov 24, 2026 |
| Last Updated | Nov 24, 2026 |
Stay Ahead of the Next One
Get instant alerts for ffmpeg ffmpeg
Be the first to know when new medium vulnerabilities affecting ffmpeg ffmpeg are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Affected Versions
FFmpeg / FFmpeg
0 < 9.1
References
code.ffmpeg.org: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932 github.com: https://github.com/FFmpeg/FFmpeg/commit/ff53919a2d8442058d58ba0e83d16cc9e29d73fb github.com: https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/img2enc.c#L214 github.com: https://github.com/FFmpeg/FFmpeg vulncheck.com: https://www.vulncheck.com/advisories/ffmpeg-before-9.1-integer-overflow-out-of-bounds-read-via-img2enc-c-write-packet
Credits
Joshua Rogers (AISLE Research) Michael Niedermayer