CVE-2026-125265
Medium 5.8No known exploitationFix status unknownTitle not yet published
Record last updated
CVSS score
5.8
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
0.1%
Higher than 2% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
None
Not in the KEV catalog
Description
FFmpeg through 9.0.2 contains a use-after-free vulnerability in libavcodec/nvdec.c because ff_nvdec_start_frame() fails to reset ctx->bitstream after slice errors. Attackers can supply crafted video that abandons a picture before end_frame, causing cuvidDecodePicture() to read freed heap memory, crashing applications or exposing stale heap contents.
Weakness: CWE-416
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
No affected products documented yet.
Timeline
- No dated events documented yet.
Vendor guidance and references
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25231 (opens in a new tab)
- https://github.com/FFmpeg/FFmpeg (opens in a new tab)
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/nvdec.c (opens in a new tab)
- https://github.com/FFmpeg/FFmpeg/commit/03cd7851955c023f1ff4c8a495d47e996d01485a (opens in a new tab)
- https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-use-after-free-via-nvdec-stale-bitstream-pointer (opens in a new tab)