Buffer overflow in Ffmpeg
CVE-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 length check.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.038, 90.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ffmpeg — versions 4.1, 4.2.2
- Canonical Ubuntu Linux — versions 16.04, 18.04, 20.04
- Debian Linux — versions 10.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (akaganeite/CVE4PP). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/FFmpeg/FFmpeg/commit/1812352d767ccf5431aa440123e2e260a4db2726 (Patch, Third Party Advisory)
- bugs.chromium.org/p/oss-fuzz/issues/detail (Exploit, Issue Tracking, Vendor Advisory)
- DSA-4722 (vendor-advisory, Third Party Advisory)
- USN-4431-1 (vendor-advisory, Third Party Advisory)
- GLSA-202007-58 (vendor-advisory, Third Party Advisory)
- github.com/FFmpeg/FFmpeg/commit/a3a3730b5456ca00587455004d40c047f7b20a99 (Patch, Third Party Advisory)