CVE-2026-125265 PUBLISHED

FFmpeg through 9.0.2 Use-After-Free via NVDEC Stale Bitstream Pointer

Assigner: VulnCheck
Reserved: 09.11.2026 Published: 09.11.2026 Updated: 09.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 5.8

Product Status

Vendor FFmpeg
Product FFmpeg
Versions Default: unaffected
  • affected from 0 to 9.0.2 (incl.)

Credits

  • Joshua Rogers (AISLE Research) finder
  • Michael Niedermayer remediation developer

References

Problem Types

  • Use After Free CWE