CVE-2021-21772
published high CVSS 3.0 · 8.1lib3mf: specially crafted 3MF file can lead to code execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | 3MF3MF Consortium lib3mf 2.0.0 | Affected | Not stated | talos |
| Debian | buster | lib3mf | Advisory build | 1.8.1+ds-3+deb10u1 | DSA-4887-1 |
| Ubuntu | focal | lib3mf | Advisory build | 1.8.1+ds-3ubuntu0.2 | USN-6216-1 |
| Ubuntu | focal | lib3mf1 | Advisory build | 1.8.1+ds-3ubuntu0.2 | USN-6216-1 |
Description
A use-after-free vulnerability exists in the NMR::COpcPackageReader::releaseZIP() functionality of 3MF Consortium lib3mf 2.0.0. A specially crafted 3MF file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- talos · cna
- Vector string
- CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | 3MF | 3MF Consortium lib3mf 2.0.0 (affected) | talos · cna |
Weaknesses
1- use-after-free
References
7- FEDORA-2021-6945629745 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IHMMHD2EOMIVJ7EKZTJJMX4C7E6ZRWDL/
- FEDORA-2021-b73f9c96ee https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NPBS642OYVA6DUKK3HZHEINVWEDZSMEU/
- FEDORA-2021-bb1b7591c4 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WDGGB65YBQL662M3MOBNNJJNRNURW4TG/
- GLSA-202208-01 https://security.gentoo.org/glsa/202208-01
- https://talosintelligence.com/vulnerability_reports/TALOS-2020-1226
- DSA-4887 https://www.debian.org/security/2021/dsa-4887
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2021-1226
Provider assertions
2talos · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 568095eb7584d2868f8f720b08dddac8e6aff915a04c4fdde0b145d049a576dd
- Ingested
- 23 Sep 2026, 07:52:37 UTC
- Source record
- Official CVE record