CVE-2020-12284
published 2020-04-28CVE-2020-12284: 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…
PriorityP352critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
3.76%
88.7th percentile
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.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | ffmpeg | < ffmpeg 7:4.2.3-1 (bookworm) | ffmpeg 7:4.2.3-1 (bookworm) |
| ffmpeg | ffmpeg | — | — |
| ffmpeg | ffmpeg | — | — |
| ffmpeg | ffmpeg | >= 0 < 7:4.2.3-1 | 7:4.2.3-1 |
| ffmpeg | ffmpeg | >= 0 < 7:4.2.3-1 | 7:4.2.3-1 |
| ffmpeg | ffmpeg | >= 0 < 7:4.2.3-1 | 7:4.2.3-1 |
| ffmpeg | ffmpeg | >= 0 < 7:4.2.3-1 | 7:4.2.3-1 |
| ffmpeg | ffmpeg | >= 0 < 7:2.8.17-0ubuntu0.1 | 7:2.8.17-0ubuntu0.1 |
| ffmpeg | ffmpeg | >= 0 < 7:3.4.8-0ubuntu0.2 | 7:3.4.8-0ubuntu0.2 |
| ffmpeg | ffmpeg | >= 0 < 7:4.2.4-1ubuntu0.1 | 7:4.2.4-1ubuntu0.1 |
Detection & IOCsextracted from sources · hover to see the quote
- →Trigger point is the `cbs_jpeg_split_fragment` function in `libavcodec/cbs_jpeg.c` during processing of JPEG_MARKER_SOS markers — monitor or instrument this code path for anomalous heap writes. ↗
- →Vulnerable FFmpeg versions are 4.1 and 4.2.2; flag use of these specific versions in the environment as unpatched. Fixed in Debian package version 7:4.2.3-1. ↗
- →OSS-Fuzz issue 19734 is the upstream bug report and may contain a proof-of-concept or crashing input useful for detection/testing. ↗
- ·Red Hat Enterprise Linux 5 ships `qffmpeg` and is explicitly marked Not Affected; do not flag RHEL5 qffmpeg deployments. ↗
- ·Vulnerability scope is listed as local, meaning exploitation requires local access or the ability to supply a crafted JPEG file to the affected FFmpeg process. ↗
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-qvcx-wpfr-c8wc: cbs_jpeg_split_fragment in libavcodec/cbs_jpeg
ghsa_unreviewed·2022-05-24
CVE-2020-12284 [HIGH] CWE-787 GHSA-qvcx-wpfr-c8wc: cbs_jpeg_split_fragment in libavcodec/cbs_jpeg
cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.2.2 has a heap-based buffer overflow during JPEG_MARKER_SOS handling because of a missing length check.
OSV
ffmpeg vulnerabilities
osv·2020-07-22·CVSS 7.5
CVE-2018-15822 [HIGH] ffmpeg vulnerabilities
ffmpeg vulnerabilities
It was discovered that FFmpeg incorrectly verified empty audio packets or
HEVC data. An attacker could possibly use this issue to cause a denial of
service via a crafted file. This issue only affected Ubuntu 16.04 LTS, as
it was already fixed in Ubuntu 18.04 LTS. For more information see:
https://usn.ubuntu.com/usn/usn-3967-1
(CVE-2018-15822, CVE-2019-11338)
It was discovered that FFmpeg incorrectly handled sscanf failures. An
attacker could possibly use this issue to cause a denial of service or
other unspecified impact. This issue only affected Ubuntu 16.04 LTS and
Ubuntu 18.04 LTS. (CVE-2019-12730)
It was discovered that FFmpeg incorrectly handled certain WEBM files. An
attacker could possibly use this issue to obtain sensitive data or other
unspecified impact.
OSV
CVE-2020-12284: cbs_jpeg_split_fragment in libavcodec/cbs_jpeg
osv·2020-04-28·CVSS 9.8
CVE-2020-12284 [CRITICAL] CVE-2020-12284: cbs_jpeg_split_fragment in libavcodec/cbs_jpeg
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.
Ubuntu
FFmpeg vulnerabilities
vendor_ubuntu·2020-07-22·CVSS 7.5
CVE-2018-15822 [HIGH] FFmpeg vulnerabilities
Title: FFmpeg vulnerabilities
Summary: Several security issues were fixed in FFmpeg.
It was discovered that FFmpeg incorrectly verified empty audio packets or
HEVC data. An attacker could possibly use this issue to cause a denial of
service via a crafted file. This issue only affected Ubuntu 16.04 LTS, as
it was already fixed in Ubuntu 18.04 LTS. For more information see:
https://usn.ubuntu.com/usn/usn-3967-1
(CVE-2018-15822, CVE-2019-11338)
It was discovered that FFmpeg incorrectly handled sscanf failures. An
attacker could possibly use this issue to cause a denial of service or
other unspecified impact. This issue only affected Ubuntu 16.04 LTS and
Ubuntu 18.04 LTS. (CVE-2019-12730)
It was discovered that FFmpeg incorrectly handled certain WEBM files. An
attacker could possibly use t
Red Hat
ffmpeg: heap-based buffer overflow during JPEG_MARKER_SOS handling because of a missing length check in libavcodec/cbs_jpeg.c
vendor_redhat·2020-04-28·CVSS 9.8
CVE-2020-12284 [CRITICAL] CWE-122 ffmpeg: heap-based buffer overflow during JPEG_MARKER_SOS handling because of a missing length check in libavcodec/cbs_jpeg.c
ffmpeg: heap-based buffer overflow during JPEG_MARKER_SOS handling because of a missing length check in libavcodec/cbs_jpeg.c
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.
Package: qffmpeg (Red Hat Enterprise Linux 5) - Not affected
Debian
CVE-2020-12284: ffmpeg - cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a h...
vendor_debian·2020·CVSS 9.8
CVE-2020-12284 [CRITICAL] CVE-2020-12284: ffmpeg - cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a h...
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.
Scope: local
bookworm: resolved (fixed in 7:4.2.3-1)
bullseye: resolved (fixed in 7:4.2.3-1)
forky: resolved (fixed in 7:4.2.3-1)
sid: resolved (fixed in 7:4.2.3-1)
trixie: resolved (fixed in 7:4.2.3-1)
No detection rules found.
No public exploits indexed.
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19734https://github.com/FFmpeg/FFmpeg/commit/1812352d767ccf5431aa440123e2e260a4db2726https://github.com/FFmpeg/FFmpeg/commit/a3a3730b5456ca00587455004d40c047f7b20a99https://security.gentoo.org/glsa/202007-58https://usn.ubuntu.com/4431-1/https://www.debian.org/security/2020/dsa-4722https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19734https://github.com/FFmpeg/FFmpeg/commit/1812352d767ccf5431aa440123e2e260a4db2726https://github.com/FFmpeg/FFmpeg/commit/a3a3730b5456ca00587455004d40c047f7b20a99https://security.gentoo.org/glsa/202007-58https://usn.ubuntu.com/4431-1/https://www.debian.org/security/2020/dsa-4722
2020-04-28
Published