๐Ÿ” CVE Alert

CVE-2026-125255

MEDIUM 5.3

FFmpeg through 9.0.2 Use-After-Free in MJPEG Hardware-Accelerated Decoding

CVSS Score
5.3
EPSS Score
0.0%
EPSS Percentile
0th

FFmpeg through 9.0.2 contains a use after free vulnerability in libavcodec/mjpegdec.c that allows attackers to trigger freed buffer reads by sending a SOF marker without a preceding SOI. Attackers can supply crafted MJPEG streams causing ff_mjpeg_decode_sof() to pass a stale raw_image_buffer pointer to hwaccel decoders like NVDEC, crashing applications or leaking heap contents.

CWE CWE-416
Vendor ffmpeg
Product ffmpeg
Published Nov 9, 2026
Stay Ahead of the Next One

Get instant alerts for ffmpeg ffmpeg

Be the first to know when new medium vulnerabilities affecting ffmpeg ffmpeg are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H
Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High

Affected Versions

FFmpeg / FFmpeg
0 โ‰ค 9.0.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
code.ffmpeg.org: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25231 github.com: https://github.com/FFmpeg/FFmpeg/commit/f58a6776546567367baf5223df9ffbfd289299f8 github.com: https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/mjpegdec.c#L831 github.com: https://github.com/FFmpeg/FFmpeg vulncheck.com: https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-use-after-free-in-mjpeg-hardware-accelerated-decoding

Credits

Joshua Rogers (AISLE Research) Michael Niedermayer