cve.bz

CVE-2020-21697 Use After Free

6.5 mediumExploit referenceEPSS 0.9%Fix available

Medium (6.5). EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
A heap-use-after-free in the mpeg_mux_write_packet function in libavformat/mpegenc.c of FFmpeg 4.2 allows to cause a denial of service (DOS) via a crafted avi file.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 61st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
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-21697 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-21697?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-21697?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-21697 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.2
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10ffmpeg7:4.1.9-0+deb10u1DSA-5126-1
Debian11ffmpeg7:4.3.3-0+deb11u1DSA-4998-1
Debian12, 13, 14ffmpeg7:4.4-5DEBIAN-CVE-2020-21697
Ubuntu18.04:LTSffmpeg7:3.4.11-0ubuntu0.1UBUNTU-CVE-2020-21697 USN-5472-1
Ubuntu20.04:LTSffmpeg7:4.2.7-0ubuntu0.1UBUNTU-CVE-2020-21697 USN-5472-1
Ubuntu22.04:LTSffmpeg7:4.4.2-0ubuntu0.22.04.1USN-5472-1
Ubuntu25.10, 26.10, Pro:18.04:LTS and 4 moreqtwebengine-opensource-srcno fix listedUBUNTU-CVE-2020-21697
UbuntuPro:16.04:LTSffmpeg7:2.8.17-0ubuntu0.1+esm2UBUNTU-CVE-2020-21697 USN-5167-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 10 moreffmpeg3.4.2-4.34.2SUSE-SU-2021:2929-1
SUSELinux Enterprise Module for Desktop Applications 15 SP2, Linux Enterprise Module for Desktop Applications 15 SP3, Linux Enterprise Module for Package Hub 15 SP2 and 3 moreffmpeg3.4.2-11.8.2SUSE-SU-2021:2919-1
openSUSELeap 15.3ffmpeg3.4.2-11.8.2openSUSE-SU-2021:2919-1

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

References

Check your stackJSON