CVE-2026-125270FFmpeg FFmpeg Out-of-bounds Read
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 5.8 (MEDIUM)
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:NAttack VectorLocal
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)Low
Integrity (Vulnerable System)None
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 5.3)
CVSS v3.1 Base Metrics — Score 5.3 (MEDIUM)
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:HAttack VectorLocal
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityLow
IntegrityNone
AvailabilityHigh
Affected & Patched Versions
- FFmpeg FFmpeg <= 9.0.2
- FFmpeg FFmpeg 9.0.2
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run FFmpeg FFmpeg and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 9, 2026Published
- Nov 13, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new FFmpeg FFmpeg CVEsYou are reading CVE-2026-125270. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24328
- Patchhttps://github.com/FFmpeg/FFmpeg/commit/b8f159858e2fd29dae4fa34d9e713bbf9bbf190e
- Referencehttps://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/v4l2_buffers.c#L410
- Referencehttps://github.com/FFmpeg/FFmpeg
- Referencehttps://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-out-of-bounds-read-in-v4l2-m2m-encoder
Data last checked: Nov 13, 2026 21:28 UTC