JLSEC-2026-2176: FFmpeg through 9.0.2 contains a use-after-free vulnerability in libavcodec/nvdec.c because...
FFmpeg through 9.0.2 contains a use-after-free vulnerability in libavcodec/nvdec.c because ffnvdecstartframe() fails to reset ctx->bitstream after slice errors. Attackers can supply crafted video that abandons a picture before endframe, causing cuvidDecodePicture() to read freed heap memory, crashing applications or exposing stale heap contents.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/FFMPEG_jllto a version that resolves this vulnerability.Fixed in 9.1.0+0 - Upgrade
Upgrade
julia/FFMPEG_nogpl_jllto a version that resolves this vulnerability.Fixed in 9.1.0+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Who is exposed to this issue?
Applications using the affected Julia FFmpeg packages are exposed when they decode attacker-supplied video through FFmpeg's NVDEC path.
What does an attacker need to exploit it?
An attacker needs to provide crafted video that triggers slice errors and abandons a picture before end_frame. The supplied CVSS vector indicates local access, high attack complexity, no privileges, and user interaction are required.
What is the likely impact of successful exploitation?
The issue can cause cuvidDecodePicture() to read freed heap memory. This may crash the application or expose stale heap contents.