CVE-2020-12284 Memory corruption in n/a

Critical 9.8 Published Updated

A heap-based buffer overflow in FFmpeg's JPEG parser allows attackers to execute arbitrary code or cause a denial of service via crafted files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-12284?

CVE-2020-12284 is a critical memory corruption vulnerability in Canonical Ubuntu Linux, published on 28 Apr 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-787

Which versions are affected by CVE-2020-12284?

It affects 3 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Ffmpeg Ffmpeg.

How do I fix CVE-2020-12284?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-12284 being exploited?

There is no known exploitation of CVE-2020-12284 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as CLEANSTART-2024-XY41143, DEBIAN-CVE-2020-12284, GHSA-qvcx-wpfr-c8wc, JLSEC-2025-108, UBUNTU-CVE-2020-12284.

Is CVE-2020-12284 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free