CVE-2020-21697Use After Free in Ffmpeg

CWE-416Use After Free8 documents5 sources
Severity
6.5MEDIUMNVD
EPSS
0.2%
top 53.10%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 10
Latest updateJun 13

Description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitability: 2.8 | Impact: 3.6

Affected Packages4 packages

debiandebian/ffmpeg< ffmpeg 7:4.4-5 (bookworm)
Debianffmpeg/ffmpeg< 7:4.3.3-0+deb11u1+3
Ubuntuffmpeg/ffmpeg< 7:3.4.11-0ubuntu0.1+3
NVDffmpeg/ffmpeg4.2

Also affects: Debian Linux 11.0

Patches

🔴Vulnerability Details

4
OSV
ffmpeg vulnerabilities2022-06-13
OSV
ffmpeg vulnerabilities2022-06-08
GHSA
GHSA-qwpm-jv39-pc73: A heap-use-after-free in the mpeg_mux_write_packet function in libavformat/mpegenc2022-05-24
OSV
CVE-2020-21697: A heap-use-after-free in the mpeg_mux_write_packet function in libavformat/mpegenc2021-08-10

📋Vendor Advisories

3
Ubuntu
FFmpeg vulnerabilities2022-06-13
Ubuntu
FFmpeg vulnerabilities2022-06-08
Debian
CVE-2020-21697: ffmpeg - A heap-use-after-free in the mpeg_mux_write_packet function in libavformat/mpege...2020