PatchSiren cyber security CVE debrief
CVE-2026-125249 FFmpeg CVE debrief
This PatchSiren debrief is based on the supplied source corpus for CVE-2026-125249, which details an integer overflow vulnerability in FFmpeg versions 7.1 through 9.0.2. The vulnerability is located in the ff_vk_decode_add_slice() function within libavcodec/vulkan_decode.c. This function miscalculates the Vulkan hwaccel bitstream buffer size, allowing attackers to supply a crafted stream with over 2 GiB of slice data per frame. This can cause memcpy() to write past a smaller pooled host-mapped buffer, potentially leading to a heap out-of-bounds write.
- 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-14
- Advisory published
- 2026-11-09
- Advisory updated
- 2026-11-14
Who should care
Defenders responsible for systems that utilize FFmpeg for video processing, especially those processing streams from untrusted sources, should be aware of this vulnerability. This includes administrators of media processing servers, video conferencing systems, and any other application that uses FFmpeg for video decoding.
Why it matters
CVE-2026-125249 is an integer overflow vulnerability in FFmpeg versions 7.1 through 9.0.2 that could lead to a heap out-of-bounds write. Defenders should verify FFmpeg versions, assess system exposure, and implement compensating controls to mitigate potential impacts.
- Potential for heap out-of-bounds write leading to denial of service or code execution.
- Requires verification of FFmpeg versions and exposure of systems processing video streams from untrusted sources.
- Necessity to implement compensating controls to monitor and limit video stream processing.
- Potential impact on media processing servers, video conferencing systems, and similar applications.
Technical summary
The vulnerability is caused by an integer overflow in the ff_vk_decode_add_slice() function in libavcodec/vulkan_decode.c. This allows for a potential heap out-of-bounds write when processing a crafted video stream with over 2 GiB of slice data per frame. The issue arises from the miscalculation of the Vulkan hwaccel bitstream buffer size, which can lead to memcpy() writing past a smaller pooled host-mapped buffer. Defenders should focus on verifying FFmpeg versions, assessing system exposure, and implementing compensating controls to mitigate potential impacts. A thorough review of system configurations and network exposure is necessary to identify potential entry points and ensure that systems are properly
Defensive priority
Defenders should prioritize verifying the versions of FFmpeg in use within their environments and assess the exposure of systems that process video streams from untrusted sources. Given the nature of the vulnerability, it is crucial to ensure that the FFmpeg version is within the safe range as provided by the vendor.
Recommended defensive actions
- Verify FFmpeg versions in use and ensure they are updated to a version outside the vulnerable range.
- Assess the exposure of systems that process video streams from untrusted sources.
- Implement compensating controls to monitor and limit the processing of video streams from untrusted sources.
- Review and update incident response plans to include procedures for potential heap out-of-bounds write vulnerabilities.
- Conduct a thorough review of system configurations and network exposure to identify potential entry points.
- Update asset inventory to reflect systems that may be impacted by this vulnerability.
- Schedule regular security audits to ensure compliance with security policies and procedures.
Evidence notes
The evidence provided includes details from the GitHub Advisory Database and references to the FFmpeg source code and pull requests. However, specific details about exploitation or victim impact are not provided, suggesting that further verification is needed to understand the full scope of the vulnerability.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-125249 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-125249
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-125249 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-125249
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
FFmpeg 7.1 through 9.0.2 contains an integer overflow in ff_vk_decode_add_slice() in libavcodec.
Unverified legacy reference
URL: https://github.com/advisories/GHSA-qjxq-q85p-hv2c
github_advisory_database
-
Source reference
Unverified legacy reference
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25136
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/vulkan_decode.c
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/ffmpeg-7.1-through-9.0.2-heap-out-of-bounds-write-via-vulkan-slice-buffer-sizing
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.