cve.bz

CVE-2020-13904 Use After Free

5.5 mediumExploit referenceEPSS 1.3%Fix available

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

On this page
FFmpeg 2.8 and 4.2.3 has a use-after-free via a crafted EXTINF duration in an m3u8 file because parse_playlist in libavformat/hls.c frees a pointer, and later that pointer is accessed in av_probe_input_format3 in libavformat/format.c.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 72nd 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-13904 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-13904?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-13904?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-13904 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:ffmpeg2.8
ffmpeg:ffmpeg4.2.3
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux20.04
debian:debian_linux9.0
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9ffmpeg7:3.2.15-0+deb9u1DLA-2291-1
Debian10ffmpeg7:4.1.6-1~deb10u1DSA-4722-1
Debian12, 13, 14ffmpeg7:4.3.1-1DEBIAN-CVE-2020-13904
Ubuntu16.04:LTSffmpeg7:2.8.17-0ubuntu0.1UBUNTU-CVE-2020-13904 USN-4431-1
Ubuntu18.04:LTSffmpeg7:3.4.8-0ubuntu0.2UBUNTU-CVE-2020-13904 USN-4431-1
Ubuntu20.04:LTSffmpeg7:4.2.4-1ubuntu0.1UBUNTU-CVE-2020-13904 USN-4431-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.3.1SUSE-SU-2021:2322-1
openSUSELeap 15.3ffmpeg3.4.2-11.3.1openSUSE-SU-2021:2322-1
Alpinev3.9ffmpeg4.0.6-r0ALPINE-CVE-2020-13904
Alpinev3.10ffmpeg4.1.6-r0ALPINE-CVE-2020-13904
Alpinev3.11ffmpeg4.2.4-r0ALPINE-CVE-2020-13904
Alpinev3.12, v3.13, v3.14 and 3 moreffmpeg4.3-r0ALPINE-CVE-2020-13904
Alpinev3.16, v3.17, v3.18 and 4 moreffmpeg, ffmpeg44.3-r0ALPINE-CVE-2020-13904

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; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

References

Check your stackJSON