CVE-2020-12284
9.8critical
cbsjpegsplitfragment in libavcodec/cbsjpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEGMARKERSOS handling because…
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 3.85% (higher than 90% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| ffmpeg ffmpeg | 4.1, 4.2.2 | NVD |
| canonical ubuntu_linux | 16.04, 18.04, 20.04 | NVD |
| debian debian_linux | 10.0 | NVD |
All scores
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 10.0high CVSS:2.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Classification
What each source says
CVE List
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.
NVD (es)
En la función cbs_jpeg_split_fragment en el archivo libavcodec/cbs_jpeg.c en FFmpeg versión 4.1 y versión 4.2.2, presenta un desbordamiento del búfer en la región heap de la memoria durante el manejo de JPEG_MARKER_SOS debido a una falta de comprobación de longitud
References
| https://github.com/FFmpeg/FFmpeg/commit/1812352d767ccf5431aa440123e2e260a4db2726 | patch, third-party-advisory | |
| https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19734 | exploit, issue-tracking, vendor-advisory | |
| https://www.debian.org/security/2020/dsa-4722 | third-party-advisory, vendor-advisory | |
| https://usn.ubuntu.com/4431-1/ | third-party-advisory, vendor-advisory | |
| https://security.gentoo.org/glsa/202007-58 | third-party-advisory, vendor-advisory | |
| https://github.com/FFmpeg/FFmpeg/commit/a3a3730b5456ca00587455004d40c047f7b20a99 | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-12284 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2020-12284 changed 2026-06-17 | Public domain |