PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-125233 FFmpeg CVE debrief

A heap buffer overflow vulnerability exists in FFmpeg through version 9.0.2 in the dvbsub_encode() function within libavcodec/dvbsubenc.c. This vulnerability is caused by an undercount of each CLUT segment header by two bytes, allowing attackers to supply a file with multiple bitmap subtitle rectangles. When this file is transcoded to the dvbsub encoder, it can write past the output buffer and corrupt heap memory.

Vendor
FFmpeg
Product
Unknown
CVSS
HIGH 8.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-09
Original CVE updated
2026-11-14
Advisory published
2026-11-09
Advisory updated
2026-11-14

Who should care

Defenders responsible for maintaining and securing systems that utilize FFmpeg should assess exposure and prioritize verification and potential updates to prevent exploitation of this vulnerability.

Why it matters

Defenders should prioritize verifying and updating FFmpeg installations to prevent potential heap buffer overflow attacks, as this vulnerability can lead to system instability, potential code execution, and memory corruption.

  • Potential heap memory corruption due to buffer overflow
  • Possible system crashes or instability due to memory corruption
  • Potential for attackers to execute arbitrary code on vulnerable systems

Technical summary

The dvbsub_encode() function in libavcodec/dvbsubenc.c of FFmpeg through 9.0.2 has a heap buffer overflow vulnerability. The function undercounts each CLUT segment header by two bytes, allowing attackers to supply malicious files that can write past the output buffer and corrupt heap memory when transcoded to the dvbsub encoder. This vulnerability can lead to system instability, potential code execution, and memory corruption. Defenders should prioritize verifying and updating FFmpeg installations to prevent potential heap buffer overflow attacks.

Defensive priority

Defenders should prioritize verifying and updating FFmpeg installations to prevent potential heap buffer overflow attacks.

Recommended defensive actions

  • Verify FFmpeg installations and update to a patched version if available
  • Restrict input to the dvbsub encoder to prevent malicious file transcoding
  • Monitor for suspicious activity related to FFmpeg usage
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • 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 was discovered in FFmpeg version 9.0.2 and is caused by an undercount of each CLUT segment header by two bytes in the dvbsub_encode() function. This allows attackers to supply a file with multiple bitmap subtitle rectangles that can write past the output buffer and corrupt heap memory when transcoded to the dvbsub encoder.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-125233 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-125233 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in dvbsub_encode() in...

    Unverified legacy reference

    URL: https://github.com/advisories/GHSA-qhxm-9wr9-cwfx

    github_advisory_database

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg/commit/7f80b2ad83f37a4998d9617495c92b28a7339a90

    Supplemental source

  • Source reference

    Unverified legacy reference

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

    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/dvbsubenc.c

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-buffer-overflow-via-dvb-subtitle-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.