cve.bz

CVE-2020-12284 Out-of-bounds Write

9.8 criticalExploit referenceEPSS 3.9%Fix available

Critical (9.8). EPSS 3.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.9% (unchanged from 3.9% a week ago; 3.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-12284 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-12284?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-12284?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-12284 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ffmpeg:ffmpeg4.1
ffmpeg:ffmpeg4.2.2
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux20.04
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10ffmpeg7:4.1.6-1~deb10u1DSA-4722-1
Debian12, 13, 14ffmpeg7:4.2.3-1DEBIAN-CVE-2020-12284
Ubuntu16.04:LTSffmpeg7:2.8.17-0ubuntu0.1USN-4431-1
Ubuntu18.04:LTSffmpeg7:3.4.8-0ubuntu0.2USN-4431-1
Ubuntu20.04:LTSffmpeg7:4.2.4-1ubuntu0.1UBUNTU-CVE-2020-12284 USN-4431-1
Alpinev3.10ffmpeg4.1.6-r0ALPINE-CVE-2020-12284
Alpinev3.11ffmpeg4.2.4-r0ALPINE-CVE-2020-12284
Alpinev3.12, v3.13, v3.14 and 3 moreffmpeg4.3-r0ALPINE-CVE-2020-12284
Alpinev3.16, v3.17, v3.18 and 4 moreffmpeg, ffmpeg44.3-r0ALPINE-CVE-2020-12284

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5qffmpegNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-12284.

References

Check your stackJSON