PatchSiren cyber security CVE debrief
CVE-2026-125265 FFmpeg CVE debrief
A use-after-free vulnerability exists in FFmpeg through version 9.0.2 in the libavcodec/nvdec.c file. This vulnerability occurs because the ff_nvdec_start_frame() function fails to reset ctx->bitstream after slice errors. An attacker can exploit this by supplying crafted video that abandons a picture before end_frame, causing cuvidDecodePicture() to read freed heap memory. This can result in applications crashing or exposing stale heap contents.
- 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-14
- Advisory published
- 2026-11-09
- Advisory updated
- 2026-11-14
Who should care
Defenders responsible for multimedia processing systems, video encoding/decoding applications, and FFmpeg deployments should assess exposure and prioritize patching to prevent potential crashes and data exposure.
Why it matters
Defenders should care about CVE-2026-125265 because it can lead to application crashes and potential data exposure in FFmpeg deployments. The vulnerability requires verification of FFmpeg versions and patches to mitigate potential impacts.
- Potential application crashes due to reading freed heap memory
- Exposure of stale heap contents
- Need for verification of FFmpeg versions and patches
- Potential data exposure through crafted video inputs
Technical summary
The vulnerability exists in the libavcodec/nvdec.c file of FFmpeg through version 9.0.2. The ff_nvdec_start_frame() function fails to reset ctx->bitstream after slice errors, allowing attackers to supply crafted video that can cause cuvidDecodePicture() to read freed heap memory. This can result in applications crashing or exposing stale heap contents. Defenders should prioritize verifying FFmpeg versions and applying patches to mitigate potential crashes and data exposure. Affected systems may require updates to prevent potential data exposure and crashes.
Defensive priority
Defenders should prioritize verifying FFmpeg versions and applying patches to mitigate potential crashes and data exposure.
Recommended defensive actions
- Verify FFmpeg version and apply patches
- Review and update affected systems
- Monitor for suspicious video inputs
- Perform vulnerability assessment to identify potential exposure
- Implement compensating controls for exposed systems
- Track exceptions and retest remediated assets
- Review relevant monitoring, detection, and logs for exposed assets
Evidence notes
The vulnerability was reported via the GitHub Advisory Database and is tracked as GHSA-fq5x-phj3-f454. The CVE Program and NVD have also documented this vulnerability. Evidence is limited to public sources and may not reflect the full scope of affected systems or potential impacts. Defenders should verify FFmpeg versions and apply patches, review and update affected systems, and monitor for suspicious video inputs to mitigate potential crashes and data exposure.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-125265 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-125265
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-125265 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-125265
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
FFmpeg through 9.0.2 contains a use-after-free vulnerability in libavcodec/nvdec.c because...
Unverified legacy reference
URL: https://github.com/advisories/GHSA-fq5x-phj3-f454
github_advisory_database
-
Source reference
Unverified legacy reference
URL: https://github.com/FFmpeg/FFmpeg/commit/03cd7851955c023f1ff4c8a495d47e996d01485a
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25231
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/nvdec.c
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-use-after-free-via-nvdec-stale-bitstream-pointer
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.