Skip to main content
No exploitation reportedFix available

CVE-2020-12284

No exploitation reported by the sources we read.

  • Published2020-04-28
  • WeaknessCWE-787

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2020-04-2806:15CVE publishedNVD

Versions per branch

NVD
Ffmpeg
BranchAffectedFixed in
4.1= 4.1no fix published
4.2= 4.2.2no fix published
Canonical ubuntu linux
BranchAffectedFixed in
16.4= 16.04no fix published
18.4= 18.04no fix published
20.4= 20.04no fix published
Debian debian linux
BranchAffectedFixed in
10.0= 10.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • ffmpegUbuntu:20.04:LTSall versions · fixed in 7:4.2.4-1ubuntu0.1
  • ffmpegUbuntu:18.04:LTSall versions · fixed in 7:3.4.8-0ubuntu0.2
  • ffmpegUbuntu:16.04:LTSall versions · fixed in 7:2.8.17-0ubuntu0.1
  • ffmpegMageia:7all versions · fixed in 4.1.6-1.mga7.tainted
  • ffmpegMageia:7all versions · fixed in 4.1.6-1.mga7
  • ffmpegDebian:14all versions · fixed in 7:4.2.3-1
  • ffmpegDebian:13all versions · fixed in 7:4.2.3-1
  • ffmpegDebian:12all versions · fixed in 7:4.2.3-1

18 more package ranges on OSV.dev

Vendor advisories

  • CVE-2020-12284 Red Hat Product Security

    ffmpeg: heap-based buffer overflow during JPEG_MARKER_SOS handling because of a missing length check in libavcodec/cbs_jpeg.c

Full record on NVD

Fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2020-04-28
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-qvcx-wpfr-c8wc

Frequently asked questions

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.

Is CVE-2020-12284 actively exploited?

Active exploitation of CVE-2020-12284 has not been confirmed. Its EPSS score was 3.9% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2020-12284?

CVE-2020-12284 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running ffmpeg? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record