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->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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

History

25 Nov 2026, 15:07

Type Values Removed Values Added
CPE cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
First Time Ffmpeg ffmpeg
Ffmpeg
References () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25231 - () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25231 - Issue Tracking, Patch
References () https://github.com/FFmpeg/FFmpeg - () https://github.com/FFmpeg/FFmpeg - Product
References () https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/nvdec.c#L694 - () https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/nvdec.c#L694 - Patch
References () https://github.com/FFmpeg/FFmpeg/commit/03cd7851955c023f1ff4c8a495d47e996d01485a - () https://github.com/FFmpeg/FFmpeg/commit/03cd7851955c023f1ff4c8a495d47e996d01485a - Patch
References () https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-use-after-free-via-nvdec-stale-bitstream-pointer - () https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-use-after-free-via-nvdec-stale-bitstream-pointer - Third Party Advisory

09 Nov 2026, 20:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-09 20:18

Updated : 2026-11-25 15:07


NVD link : CVE-2026-125265

Mitre link : CVE-2026-125265

CVE.ORG link : CVE-2026-125265


JSON object : View

Products Affected

ffmpeg

  • ffmpeg
CWE
CWE-416

Use After Free