Home / Ffmpeg / Ffmpeg / CVE-2020-12284
CVE-2020-12284: is it exploited, and which versions of Ffmpeg are affected and fixed?
CVE-2020-12284 is an out-of-bounds write (memory corruption) vulnerability in Ffmpeg. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: ffmpeg 4.1, ffmpeg 4.2.2, ubuntu linux 16.04 and 3 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:11 UTC.
What is 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.
From the CVE record by mitre, last updated August 4, 2024, 11:48 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ffmpeg | ffmpeg | 4.1 | application |
| ffmpeg | ffmpeg | 4.2.2 | application |
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 18.04 | operating system |
| canonical | ubuntu linux | 20.04 | operating system |
| debian | debian linux | 10.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 02:51 UTC.
How severe is CVE-2020-12284?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 10.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-12284 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.85% probability of exploitation activity in the next 30 days, percentile 90.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-787 Out-of-bounds Write
Where are the vendor advisories and references?
- https://github.com/FFmpeg/FFmpeg/commit/1812352d767ccf5431aa440123e2e260a4db2726 x_refsource_MISC
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19734 x_refsource_MISC
- DSA-4722 vendor-advisory, x_refsource_DEBIAN
- USN-4431-1 vendor-advisory, x_refsource_UBUNTU
- GLSA-202007-58 vendor-advisory, x_refsource_GENTOO
- https://github.com/FFmpeg/FFmpeg/commit/a3a3730b5456ca00587455004d40c047f7b20a99 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 28, 2020
- Published
- April 28, 2020, 05:16 UTC
- CVE record updated
- August 4, 2024, 11:48 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 02:51 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:11 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Ffmpeg?
- Nov 29, 2026CVE-2025-71475 FFmpeg: NULL pointer dereference (crash)
- Nov 29, 2026CVE-2025-71476 FFmpeg: NULL pointer dereference (crash)
- Nov 27, 2026CVE-2026-137911 FFmpeg: out-of-bounds read
- Nov 27, 2026CVE-2026-137910 FFmpeg: out-of-bounds read
- Nov 27, 2026CVE-2026-137909 FFmpeg: NULL pointer dereference (crash)
- Nov 27, 2026CVE-2026-137908 FFmpeg: memory leak
- Nov 27, 2026CVE-2026-137907 FFmpeg: out-of-bounds write (memory corruption)
- Nov 27, 2026CVE-2026-137906 FFmpeg: NULL pointer dereference (crash)
Questions about CVE-2020-12284
Is CVE-2020-12284 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 3.85% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Ffmpeg are affected by CVE-2020-12284?
ffmpeg 4.1, ffmpeg 4.2.2, ubuntu linux 16.04, ubuntu linux 18.04, ubuntu linux 20.04 and debian linux 10.0, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2020-12284?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2020-12284?
Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-12284?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.