CVE-2026-125071
FFmpeg through 9.0.2 contains a NULL pointer dereference vulnerability in libavcodec/jvdec.c that allows attackers to crash applications by supplying oversized…
Impact
FFmpeg through 9.0.2 contains a NULL pointer dereference vulnerability in libavcodec/jvdec.c that allows attackers to crash applications by supplying oversized JV video packets. Attackers can pass a roughly 268435460-byte packet through the libavcodec API, overflowing the bit count so decode_frame() reads from a NULL buffer and causes denial of service.
An attacker can exploit this with local access to the system, without logging in, but a user has to do something, such as open a file or a link. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of outages.
Affected products · FFmpeg
| Product | Affected versions |
|---|---|
| FFmpeg | through 9.0.2 Version 0 ≤9.0.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25704
- https://github.com/FFmpeg/FFmpeg/commit/839c93f261cd3e1719edfac4244a2d0055ce8841
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/jvdec.c#L169
- https://github.com/FFmpeg/FFmpeg
- https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-null-pointer-dereference-in-jv-video-decoder
- https://github.com/advisories/GHSA-7xwx-886w-7fhp
- https://nvd.nist.gov/vuln/detail/CVE-2026-125071