# CVE-2021-21772: A use-after-free vulnerability exists in the NMR::COpcPackageReader::releaseZIP() functionality of 3MF Consortium lib3mf 2.0.0.

- Severity: High 8.1 (CVSS:3.0, scored by talos) `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.17%, higher than 92% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-03-10T00:00:00.000Z
- Modified: 2026-06-17T03:36:05.520Z
- Weaknesses: CWE-416
- Assigned by: talos

## 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.

(As written by CVE List.)

## Affected

- 3MF: 3MF Consortium lib3mf 2.0.0
- 3mf lib3mf: 2.0.0
- fedoraproject fedora: 32; 33; 34
- debian debian_linux: 10.0

## Every score

- talos: CVSS:3.0 8.1 High `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://talosintelligence.com/vulnerability_reports/TALOS-2020-1226> (exploit, third-party-advisory)
- <https://www.talosintelligence.com/vulnerability_reports/TALOS-2021-1226> (exploit, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WDGGB65YBQL662M3MOBNNJJNRNURW4TG/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IHMMHD2EOMIVJ7EKZTJJMX4C7E6ZRWDL/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NPBS642OYVA6DUKK3HZHEINVWEDZSMEU/> (vendor-advisory)
- <https://www.debian.org/security/2021/dsa-4887> (third-party-advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202208-01> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2021-21772](https://www.cve.org/CVERecord?id=CVE-2021-21772), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-21772](https://nvd.nist.gov/vuln/detail/CVE-2021-21772), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-21772 · Whole record: https://cve.day/CVE-2021-21772.json · Rebuilt by cve.day 2026-11-25T22:58:00.230Z
