NetSight
medium4.7

CVE-2026-125246

FFmpeg through 9.0.2 contains a denial of service vulnerability in cbs_jpeg_assemble_fragment() that miscounts 0xff stuffing bytes in JPEG scan headers.

Impact

FFmpeg through 9.0.2 contains a denial of service vulnerability in cbs_jpeg_assemble_fragment() that miscounts 0xff stuffing bytes in JPEG scan headers. Attackers can supply a crafted JPEG/MJPEG stream with 0xff in the scan header, triggering an av_assert0 abort when CBS-based bitstream filters process it.

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

ProductAffected versions
FFmpeg
through 9.0.2
Version 0 ≤9.0.2

Weakness classification

References