Skip to content
OpenAdvisories
Unscored CVE-2020-12284 EUVD-2020-4596GHSA-qvcx-wpfr-c8wc

cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MARKER_SOS handling b…

Published Apr 28, 2020 · Updated Aug 4, 2024 · Assigned by mitre

Description

cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MARKER_SOS handling because of a missing length check.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ffmpeg 7:4.2.3-1 —
Debian 13 ffmpeg 7:4.2.3-1 —
Debian 12 ffmpeg 7:4.2.3-1 —
Debian 10 ffmpeg 7:4.1.6-1~deb10u1 DSA-4722-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS ffmpeg 7:4.2.4-1ubuntu0.1 USN-4431-1
Ubuntu 18.04 LTS ffmpeg 7:3.4.8-0ubuntu0.2 USN-4431-1
Ubuntu 16.04 LTS ffmpeg 7:2.8.17-0ubuntu0.1 USN-4431-1
ReleasePackageFixed inAdvisory
Alpine v3.24 ffmpeg 4.3-r0 —
Alpine v3.23 ffmpeg 4.3-r0 —
Alpine v3.22 ffmpeg +1 4.3-r0 —
Alpine v3.21 ffmpeg +1 4.3-r0 —
Alpine v3.20 ffmpeg +1 4.3-r0 —
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 ffmpeg +1 4.3-r0 —
Alpine v3.18 ffmpeg +1 4.3-r0 —
Alpine v3.17 ffmpeg +1 4.3-r0 —
Alpine v3.16 ffmpeg +1 4.3-r0 —
Alpine v3.15 ffmpeg 4.3-r0 —
Alpine v3.14 ffmpeg 4.3-r0 —
Alpine v3.13 ffmpeg 4.3-r0 —
Alpine v3.12 ffmpeg 4.3-r0 —
Alpine v3.11 ffmpeg 4.2.4-r0 —
Alpine v3.10 ffmpeg 4.1.6-r0 —

Advisories 2

References