
CVE catalog
CVE-2021-21772
lib3mf: CVE-2021-21772
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 4.17% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | lib3mf | sid | 1.8.1+ds-7 | fixed |
| Debian | lib3mf | forky | 1.8.1+ds-7 | fixed |
| Debian | lib3mf | trixie | 1.8.1+ds-5 | fixed |
| Debian | lib3mf | bookworm | 1.8.1+ds-4 | fixed |
| Ubuntu | lib3mf | 20.04 | 1.8.1+ds-3 | vulnerable |
| Ubuntu | lib3mf | 20.04 | 1.8.1+ds-3ubuntu0.2 | fixed |
| Ubuntu | lib3mf | 20.04 | 1.8.1+ds-3 | vulnerable |
| Ubuntu | lib3mf | 20.04 | 1.8.1+ds-3ubuntu0.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | lib3mf | source | sid | 1.8.1+ds-4 | not yet assigned | Not reported | [985092] |
| Debian | lib3mf | source | forky | 1.8.1+ds-4 | not yet assigned | Not reported | [985092] |
| Debian | lib3mf | source | trixie | 1.8.1+ds-4 | not yet assigned | Not reported | [985092] |
| Debian | lib3mf | source | bookworm | 1.8.1+ds-4 | not yet assigned | Not reported | [985092] |
| Ubuntu | lib3mf | deb | 20.04 | 1.8.1+ds-3ubuntu0.2 | Not reported | UBUNTU-CVE-2021-21772 | Not reported |
| Ubuntu | lib3mf | deb | 20.04 | 1.8.1+ds-3ubuntu0.2 | Not reported | USN-6216-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [lib3mf1]Fixed
Source package: [lib3mf]
Details (2)
1.8.1+ds-4· amd64 · bookwormFixed · Fixed:
1.8.1+ds-4dsa · lib3mf · debian · bookworm; dsa · lib3mf · debian · 12
1.8.1+ds-4· arm64 · bookwormFixed · Fixed:
1.8.1+ds-4dsa · lib3mf · debian · bookworm; dsa · lib3mf · debian · 12
- [lib3mf-dev]Fixed
Source package: [lib3mf]
Details (2)
1.8.1+ds-4· amd64 · bookwormFixed · Fixed:
1.8.1+ds-4dsa · lib3mf · debian · bookworm; dsa · lib3mf · debian · 12
1.8.1+ds-4· arm64 · bookwormFixed · Fixed:
1.8.1+ds-4dsa · lib3mf · debian · bookworm; dsa · lib3mf · debian · 12
- [lib3mf-doc]Fixed
Source package: [lib3mf]
Details (2)
1.8.1+ds-4· all · bookwormFixed · Fixed:
1.8.1+ds-4dsa · lib3mf · debian · bookworm; dsa · lib3mf · debian · 12
1.8.1+ds-4· all · bookwormFixed · Fixed:
1.8.1+ds-4dsa · lib3mf · debian · bookworm; dsa · lib3mf · debian · 12
[Debian 13 (Trixie)]
- [lib3mf1t64]Fixed
Source package: [lib3mf]
Details (2)
1.8.1+ds-5+b2· amd64 · trixieFixed · Fixed:
1.8.1+ds-4dsa · lib3mf · debian · 13
1.8.1+ds-5+b2· arm64 · trixieFixed · Fixed:
1.8.1+ds-4dsa · lib3mf · debian · 13
- [lib3mf-dev]Fixed
Source package: [lib3mf]
Details (2)
1.8.1+ds-5+b2· amd64 · trixieFixed · Fixed:
1.8.1+ds-4dsa · lib3mf · debian · 13
1.8.1+ds-5+b2· arm64 · trixieFixed · Fixed:
1.8.1+ds-4dsa · lib3mf · debian · 13
- [lib3mf-doc]Fixed
Source package: [lib3mf]
Details (2)
1.8.1+ds-5· all · trixieFixed · Fixed:
1.8.1+ds-4dsa · lib3mf · debian · 13
1.8.1+ds-5· all · trixieFixed · Fixed:
1.8.1+ds-4dsa · lib3mf · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-21772]
- [https://osv.dev/vulnerability/DSA-4887-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-21772]
- [https://osv.dev/vulnerability/USN-6216-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-21772]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]