Description
FFmpeg through 9.0.2 contains a NULL pointer dereference vulnerability in libavcodec/dpxenc.c that allows attackers to crash the process via unvalidated bits_per_raw_sample for RGB48 input. Attackers can supply a 12-bit RGB image, such as JPEG 2000, that when transcoded to DPX selects encode_gbrp12() and dereferences NULL plane pointers, causing denial of service.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
FFmpeg FFmpeg
Default version status: unaffected
0 to ≤ 9.0.2affected
pkg:github/ffmpeg/ffmpegReferences
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25690 ↗
- https://github.com/FFmpeg/FFmpeg/commit/aa5fd7d287db4f469fdcbe444f7f9f38c8c289c7 ↗
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/dpxenc.c#L72 ↗
- https://github.com/FFmpeg/FFmpeg ↗
- https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-dpx-encoder-null-pointer-dereference-via-encode-gbrp12 ↗