GHSA-x2v9-wwj2-f83cMediumCVSS 4.7
FFmpeg through 9.0.2 contains a denial of service vulnerability in cbs_jpeg_assemble_fragment()...
🔗 CVE IDs covered (1)
📋 Description
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.
🔗 References (7)
- https://nvd.nist.gov/vuln/detail/CVE-2026-125246
- https://github.com/FFmpeg/FFmpeg/commit/ee457fdcdb3a069ef35910a2e1cacff10906b131
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25232
- https://github.com/FFmpeg/FFmpeg
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/cbs_jpeg.c#L365
- https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-assertion-failure-dos-via-cbs-jpeg-assemble-fragment
- https://github.com/advisories/GHSA-x2v9-wwj2-f83c