CVE-2026-125270 FFmpeg through 9.0.2 Heap Out-of-Bounds Read in V4L2 M2M Encoder
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-125270?
CVE-2026-125270 is a medium-severity vulnerability in FFmpeg, published on 9 Nov 2026.
Official description
FFmpeg through 9.0.2 contains a heap out-of-bounds read vulnerability in v4l2_buffer_swframe_to_buf() in libavcodec/v4l2_buffers.c that mishandles frames with negative linesize. Attackers can supply bottom-up AVI or PNM/PFM files that are transcoded to a V4L2 M2M encoder, crashing the application or leaking heap memory into encoded output.
Weakness: CWE-125
Which versions are affected by CVE-2026-125270?
How do I fix CVE-2026-125270?
No fix has been published for CVE-2026-125270 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-125270 being exploited?
There is no known exploitation of CVE-2026-125270 in the wild and no public exploit code.
Sources
Also known as GHSA-mjj3-3wfp-gvm7, UBUNTU-CVE-2026-125270.