CVE-2026-125265

FFmpeg through 9.0.2 contains a use-after-free vulnerability in libavcodec/nvdec.c because ff_nvdec_start_frame() fails to reset ctx->bitstr

Medium published · updated

5.8
CVSS score out of 10 · NVD (vulncheck.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
ffmpeg ffmpeg ≤9.0.2— NVD

References