PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-125228 FFmpeg CVE debrief

This PatchSiren debrief provides source-grounded defensive context for CVE-2026-125228, an out-of-bounds read vulnerability in FFmpeg's Vorbis encoder. The vulnerability occurs when NaN samples leave the codebook entry at -1, allowing attackers to supply audio with NaN float samples and cause heap reads before arrays, potentially crashing the application or leaking adjacent heap memory into 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-10
Advisory published
2026-11-09
Advisory updated
2026-11-10

Who should care

Defenders responsible for FFmpeg deployments, especially those processing untrusted audio input, should assess exposure and prioritize verification and potential upgrades. This includes operators managing audio processing systems, platform administrators, vulnerability management teams, and security teams responsible for ensuring the integrity of multimedia processing environments. They should review the vulnerability details and consider the potential for

Why it matters

CVE-2026-125228 is a medium-severity vulnerability in FFmpeg's Vorbis encoder that can lead to out-of-bounds reads and potential crashes or memory leaks. Defenders should prioritize verifying exposure, especially in deployments processing untrusted audio input, and consider upgrades or compensating controls.

  • Potential application crashes due to out-of-bounds reads
  • Possible leakage of sensitive heap memory into output
  • Need for input validation and sanitization of audio data
  • Verification of FFmpeg version and exposure in deployments

Technical summary

The vulnerability is located in libavcodec/vorbisenc.c, specifically in the put_vector() function. It occurs when NaN (Not a Number) samples cause the codebook entry to be set to -1, leading to out-of-bounds heap reads. This can result in application crashes or the leakage of adjacent heap memory into output. The issue arises when attackers supply audio with NaN float samples to the native Vorbis encoder, which can cause heap reads before arrays. Defenders should focus on verifying exposure in their FFmpeg deployments, especially where untrusted input is processed, and assess the need for upgrades or compensating controls.

Defensive priority

Defenders should prioritize verifying exposure in their FFmpeg deployments, especially where untrusted input is processed, and assess the need for upgrades or compensating controls.

Recommended defensive actions

  • Verify FFmpeg version and assess exposure in deployments
  • Consider upgrading to FFmpeg 8.1.3 or 9.0.2
  • Implement input validation and sanitization for untrusted audio data
  • Monitor for potential crashes or anomalous behavior 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 CVE record and source item provide details on the vulnerability, including its location in libavcodec/vorbisenc.c and the conditions under which it occurs. However, the corpus does not establish specific exploitation instances or impact beyond potential crashes and memory leaks.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-125228 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-125228 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • FFmpeg before 8.1.3 and 9.x before 9.0.2 Out-of-Bounds Read in Vorbis Encoder

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/125xxx/CVE-2026-125228.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

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

    Supplemental source - issue-tracking

  • Source reference

    Unverified legacy reference

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

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/vorbisenc.c

    Supplemental source - technical-description

  • Source reference

    Unverified legacy reference

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

    Supplemental source - product

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-out-of-bounds-read-in-vorbis-encoder

    Supplemental source - third-party-advisory

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.