PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-125270 FFmpeg CVE debrief

A heap out-of-bounds read vulnerability exists in FFmpeg through version 9.0.2 in the v4l2_buffer_swframe_to_buf() function within libavcodec/v4l2_buffers.c. This vulnerability can be exploited by supplying bottom-up AVI or PNM/PFM files that are transcoded to a V4L2 M2M encoder, potentially crashing the application or leaking heap memory into encoded output.

Vendor
FFmpeg
Product
Unknown
CVSS
MEDIUM 5.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-09
Original CVE updated
2026-11-13
Advisory published
2026-11-09
Advisory updated
2026-11-13

Who should care

Defenders of systems using FFmpeg for multimedia processing, especially those handling untrusted input files, should assess exposure and consider updating to a fixed version. This includes operators of media processing platforms, security teams responsible for vulnerability management, and administrators of systems that handle AVI, PNM, or PFM files from external sources. Prioritization is recommended for environments where multimedia file processing from

Why it matters

This vulnerability in FFmpeg can lead to application crashes or information leaks when processing specially crafted files. Defenders should assess exposure, especially for systems handling untrusted input, and prioritize remediation.

  • Potential application crashes due to out-of-bounds memory reads.
  • Possible leakage of heap memory into encoded output.
  • Requires verification of affected versions and exposure to untrusted input files.
  • Remediation priority for systems handling multimedia files from untrusted sources.

Technical summary

The vulnerability exists in the v4l2_buffer_swframe_to_buf() function within libavcodec/v4l2_buffers.c of FFmpeg through version 9.0.2. It mishandles frames with negative linesize, allowing attackers to supply malicious files (bottom-up AVI or PNM/PFM) that can crash the application or leak heap memory when transcoded to a V4L2 M2M encoder. This issue is particularly relevant for systems that transcode or process multimedia files from untrusted sources, as it could lead to application instability or information disclosure.

Defensive priority

Medium priority for systems using FFmpeg for transcoding or processing multimedia files, especially those exposed to untrusted input.

Recommended defensive actions

  • Assess exposure for systems using FFmpeg for transcoding or processing multimedia files, especially those exposed to untrusted input.
  • Verify if the system handles AVI, PNM, or PFM files from untrusted sources.
  • Consider updating FFmpeg to a version that fixes this vulnerability, if available.
  • Monitor for potential crashes or anomalies in FFmpeg applications.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.

Evidence notes

The vulnerability is confirmed in FFmpeg version 9.0.2. Details are from the GitHub advisory database and other supplemental sources. Evidence is limited to public sources and may not reflect all affected versions or potential variants. Defenders should verify exposure and review official advisories for updates. Limited testing and validation have been performed, and additional research may be required to fully understand the vulnerability's impact.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-125270 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-125270

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-125270 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-125270

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • FFmpeg through 9.0.2 contains a heap out-of-bounds read vulnerability in...

    Unverified legacy reference

    URL: https://github.com/advisories/GHSA-mjj3-3wfp-gvm7

    github_advisory_database

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg/commit/b8f159858e2fd29dae4fa34d9e713bbf9bbf190e

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24328

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/v4l2_buffers.c

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-out-of-bounds-read-in-v4l2-m2m-encoder

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.