CVE-2021-38291 json
FFmpeg version (git commit de8e6e67e7523e48bb27ac224a0b446df05e1640) suffers from a an assertion...
published 2021-08-12 5 y ago modified 2026-07-23 3 mo ago also EUVD-2021-24749 , JLSEC-2025-117
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.7%
- EPSS 2.7% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
FFmpeg version (git commit de8e6e67e7523e48bb27ac224a0b446df05e1640) suffers from a an assertion failure at src/libavutil/mathematics.c.
Patch / fix
- julia FFMPEG_jll 4.3.1+0, 4.4.0+0
- julia FFplay_jll 4.4.4+0
- ffmpeg ffmpeg 4.1.7, 4.2.5, 4.3.3, 4.4.1
- ffmpeg Debian 14, Debian 13, Debian 12 7:4.4.1-1
debian advisories DEBIAN-CVE-2021-38291
- ffmpeg Ubuntu 18.04 LTS 7:3.4.11-0ubuntu0.1
- ffmpeg Ubuntu 20.04 LTS 7:4.2.7-0ubuntu0.1
- ffmpeg Ubuntu Pro 16.04 LTS 7:2.8.17-0ubuntu0.1+esm4
ubuntu advisories UBUNTU-CVE-2021-38291
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ffmpeg SLE Workstation Extension 15 SP6, SLE Workstation Extension 15 SP5, SLE Module for Package Hub 15 SP6 +5 more 3.4.2-150200.11.57.1
suse advisories SUSE-SU-2024:3114-1
- ffmpeg Alpine 3.13 4.3.3-r0
- ffmpeg Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 4.4.1-r0
- ffmpeg4 Alpine 3.22, Alpine 3.21, Alpine 3.20 +4 more 4.4.1-r0
alpine advisories ALPINE-CVE-2021-38291
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ffmpeg Arch Linux 2:4.4.1-1
arch linux advisories AVG-1989
- trac.ffmpeg.org/ticket/9312 advisory
Exploit prediction
2.69% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- trac.ffmpeg.org https://trac.ffmpeg.org/ticket/9312 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | FFMPEG_jll | <4.3.1+0 >=4.3.1+2, <4.4.0+0 |
4.3.1+0 4.4.0+0 |
| julia | FFplay_jll | <4.4.4+0 |
4.4.4+0 |
Classification
- Weakness
-
- CWE-617 Reachable Assertion
References
-
trac.ffmpeg.org
/ticket/9312
exploit, patch, vendor-advisory, web
-
debian.org
/security/2021/dsa-4990
vendor-advisory, third-party-advisory, web
-
debian.org
/security/2021/dsa-4998
vendor-advisory, third-party-advisory, web
-
security.gentoo.org
/glsa/202312-14
vendor-advisory, web
-
lists.debian.org
/debian-lts-announce/2021/11/msg00012.html
mailing-list, third-party-advisory, web
Sources
- CVE List CVE-2021-38291
- NVD CVE-2021-38291
- OSV JLSEC-2025-117
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.