CVE-2021-38291
No exploitation reported by the sources we read.
- Published2021-08-12
- Fixed in4.4.1 · 4.3.3 · 4.2.5 · 4.1.7
- WeaknessCWE-617
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
FFmpeg version (git commit de8e6e67e7523e48bb27ac224a0b446df05e1640) suffers from a an assertion failure at src/libavutil/mathematics.c.
Timeline
dates in UTC- 2021-08-1216:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.4 | ≥ 4.4.0, < 4.4.1 | 4.4.1 | NVD |
| 4.3 | ≥ 4.3.0, < 4.3.3 | 4.3.3 | NVD |
| 4.2 | ≥ 4.2.0, < 4.2.5 | 4.2.5 | NVD |
| 4.1 | < 4.1.7 | 4.1.7 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.0 | = 9.0 | no fix published | NVD |
| 10.0 | = 10.0 | no fix published | NVD |
| 11.0 | = 11.0 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- ffmpegUbuntu:Pro:16.04:LTSall versions · fixed in 7:2.8.17-0ubuntu0.1+esm4
- ffmpegUbuntu:22.04:LTSall versions · fixed in 7:4.4.2-0ubuntu0.22.04.1
- ffmpegUbuntu:20.04:LTSall versions · fixed in 7:4.2.7-0ubuntu0.1
- ffmpegUbuntu:18.04:LTSall versions · fixed in 7:3.4.11-0ubuntu0.1
- ffmpegSUSE:Linux Enterprise Workstation Extension 15 SP6all versions · fixed in 3.4.2-150200.11.57.1
- ffmpegSUSE:Linux Enterprise Workstation Extension 15 SP5all versions · fixed in 3.4.2-150200.11.57.1
- ffmpegSUSE:Linux Enterprise Module for Package Hub 15 SP6all versions · fixed in 3.4.2-150200.11.57.1
- ffmpegSUSE:Linux Enterprise Module for Package Hub 15 SP5all versions · fixed in 3.4.2-150200.11.57.1
33 more package ranges on OSV.dev
Fix
- Update Ffmpeg to 4.4.1 · 4.3.3 · 4.2.5 · 4.1.7
Advisories and patches
- trac.ffmpeg.orgPatch · Vendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.17.5read 2026-10-23
- NVDCVSS 2.05read 2026-10-23
- NVDweakness (CWE)CWE-617read 2026-10-23
- FIRST EPSSEPSS score2.7 %2026-11-08
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- CGA-4qq7-2frj-m6p8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5gf8-5pgg-96h8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-c4fh-g2h7-vmw4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-c77q-f3rg-22c6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-gp4w-xpf5-ggfxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-hfqq-rwxr-3j7msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-qfg6-7wmr-342qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-w9jj-8hf2-vfwhsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2021-24749same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-4525-66vv-3hwfsame flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2025-117same flawJulia Security Advisories · CC-BY-4.0
- DLA-2818-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-4990-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-4998-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2021-0495advisory covering several CVEsMageia · LicenseRef-unstated
- SUSE-SU-2024:3114-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-5167-1advisory covering several CVEsUbuntu
- USN-5472-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2021-08-12
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-4525-66vv-3hwf
Frequently asked questions
What is CVE-2021-38291?
Is CVE-2021-38291 actively exploited?
What is the CVSS score for CVE-2021-38291?
Running torchaudio-ffmpeg-tarballs? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-4525-66vv-3hwf
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served