CVE Catalog

CVE-2026-125265

MediumCVSS 5.3
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

May cause application crashes or expose heap memory contents, posing confidentiality and availability risks. Affects systems decoding untrusted video with NVDEC acceleration.

Recommendation

Update FFmpeg to a version later than 9.0.2 or apply the patch. Restrict decoding of untrusted video files with NVDEC until updated.

Other vulnerabilities in FFmpeg

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS