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.
https://www.talosintelligence.com/vulnerability_reports/TALOS-2021-1226
https://www.debian.org/security/2021/dsa-4887
https://talosintelligence.com/vulnerability_reports/TALOS-2020-1226