PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-125259 FFmpeg CVE debrief

The CVE-2026-125259 vulnerability is caused by an integer overflow in the ff_prores_kostya_encode_init() function of FFmpeg, which can lead to a heap buffer overflow when using the prores_ks encoder for video transcoding. This vulnerability affects FFmpeg versions up to 9.0.2. Defenders responsible for systems using FFmpeg for video transcoding, especially those using the prores_ks encoder, should assess potential exposure and impact. The vulnerability allows attackers to supply a high-resolution video transcoded with the prores_ks encoder, causing encode_frame() to write slices past an undersized packet 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-10
Advisory published
2026-11-09
Advisory updated
2026-11-10

Who should care

Defenders responsible for systems using FFmpeg for video transcoding, especially those using the prores_ks encoder, should assess potential exposure and impact. This includes operators, platform administrators, vulnerability management teams, and security teams who need to verify FFmpeg versions and configurations, review video transcoding configurations for prores_ks encoder usage, and consider upgrading to a patched version of FFmpeg.

Why it matters

Defenders should prioritize verifying exposure and assessing potential impact due to a heap buffer overflow vulnerability in FFmpeg's prores_ks encoder.

  • Potential heap memory corruption
  • Possible denial of service through transcoding failures
  • Potential for attackers to supply malicious video files
  • Need for verification of FFmpeg versions and configurations

Technical summary

The vulnerability is caused by an integer overflow in the ff_prores_kostya_encode_init() function, which miscalculates frame_size_upper_bound using 32-bit arithmetic for large frame dimensions. This can lead to a heap buffer overflow when using the prores_ks encoder for video transcoding. Attackers can supply a high-resolution video transcoded with the prores_ks encoder, causing encode_frame() to write slices past an undersized packet buffer and corrupt heap memory. Defenders should prioritize verifying exposure and assessing potential impact, focusing on systems using FFmpeg versions up to 9.0.2, especially those handling video transcoding with the prores_ks encoder.

Defensive priority

Defenders should prioritize verifying exposure and assessing potential impact, focusing on systems using FFmpeg versions up to 9.0.2, especially those handling video transcoding with the prores_ks encoder.

Recommended defensive actions

  • Verify FFmpeg version and assess exposure
  • Review video transcoding configurations for prores_ks encoder usage
  • Consider upgrading to a patched version of FFmpeg
  • 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 an integer overflow vulnerability in FFmpeg's ff_prores_kostya_encode_init() function, which can lead to a heap buffer overflow when using the prores_ks encoder. The vulnerability is caused by 32-bit arithmetic miscalculating frame_size_upper_bound for large frame dimensions. Defenders should verify FFmpeg versions and configurations, review video transcoding configurations for prores_ks encoder usage, and consider upgrading to a patched version of FFmpeg.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-125259 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-125259 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

    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 ProRes prores_ks Encoder

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/125xxx/CVE-2026-125259.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/439b452f9fe916a9f7d8788ab6afee8fac846b0b

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/proresenc_kostya_common.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-through-9.0.2-heap-buffer-overflow-via-prores-prores-ks-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.