PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-125256 FFmpeg CVE debrief

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-11-09T19:12:00.407Z and has not been modified since then. The vulnerability is a heap buffer overflow in the ff_llvidenc_diff_bytes_rvv() function of FFmpeg through 9.0.2, which allows attackers to corrupt heap memory by triggering negative length values in the Huffyuv encoder. This can be done by supplying RGB video narrower than 8 or 16 pixels for huffyuv transcoding on RVV-enabled RISC-V builds, potentially leading to denial of service or code execution. Defenders should prioritize verifying exposure in FFmpeg deployments, especially those using RISC-V builds, and assess the

Vendor
FFmpeg
Product
Unknown
CVSS
HIGH 7.3
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 using RISC-V builds, should assess exposure and prioritize verification and potential remediation. They should review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance. Additionally, defenders should plan vendor-supported updates or mitigations through normal change control where exposure is confirmed, and check relevant monitoring, detection

Why it matters

Defenders should prioritize verifying exposure in FFmpeg deployments, especially those using RISC-V builds, and assess the need for updates or compensating controls due to a heap buffer overflow vulnerability.

  • Potential heap memory corruption
  • Possible denial of service or code execution
  • Need for verification of exposure and remediation
  • Potential impact on video transcoding and processing

Technical summary

The vulnerability is in the ff_llvidenc_diff_bytes_rvv() function, which allows attackers to corrupt heap memory by triggering negative length values in the Huffyuv encoder. This can be done by supplying RGB video narrower than 8 or 16 pixels for huffyuv transcoding on RVV-enabled RISC-V builds. The vulnerability can potentially lead to denial of service or code execution. Defenders should prioritize verifying exposure in FFmpeg deployments, especially those using RISC-V builds, and assess the need for updates or compensating controls due to the heap buffer overflow vulnerability.

Defensive priority

Defenders should prioritize verifying exposure in FFmpeg deployments, especially those using RISC-V builds, and assess the need for updates or compensating controls.

Recommended defensive actions

  • Verify FFmpeg version and assess exposure
  • Review RISC-V build configurations for potential vulnerabilities
  • Consider applying patches or updates from the vendor
  • Monitor for potential exploitation attempts
  • 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

Evidence notes

The CVE record and source item provide details on a heap buffer overflow vulnerability in FFmpeg through 9.0.2. The vulnerability is in the ff_llvidenc_diff_bytes_rvv() function, which allows attackers to corrupt heap memory by triggering negative length values in the Huffyuv encoder.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-125256 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-125256 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • FFmpeg through 9.0.2 Heap Buffer Overflow via RISC-V Vector diff_bytes Routine

    Unverified legacy reference

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

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

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

    Supplemental source - issue-tracking

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg/commit/1f7bdea654a8a9a1761759e22d83943371cff21f

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/riscv/llvidencdsp_rvv.S

    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-through-9.0.2-heap-buffer-overflow-via-risc-v-vector-diff-bytes-routine

    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.