P3 · MediumCVSS 5.3
FFmpeg through 9.0.2 Use-After-Free via NVDEC Stale Bitstream Pointer
- CVE-2026-125265
- GHSA-fq5x-phj3-f454
- EUVD-2026-120215
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.
Text from the CVE.org record.
Affected
ffmpeg
- up to 9.0.2
Product versions from the NVD record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.