CVE-2026-125265
5.8medium
FFmpeg through 9.0.2 Use-After-Free via NVDEC Stale Bitstream Pointer
- Severity
- 5.8medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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
| Product or package | Versions | Reported by |
|---|---|---|
| FFmpeg FFmpeg | up to 9.0.2 | CVE List, NVD |
All scores
| VulnCheck | 5.8medium CVSS:4.0 | 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 |
| VulnCheck | 5.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-125265 changed 2026-11-14 | CVE Terms of Use |
| NVD | CVE-2026-125265 changed 2026-11-25 | Public domain |