{"id":"UBUNTU-CVE-2021-21772","details":"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.","modified":"2026-04-22T12:46:49.282128Z","published":"2021-03-10T17:15:00Z","related":["USN-6216-1"],"upstream":["CVE-2021-21772"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-21772"},{"type":"REPORT","url":"https://talosintelligence.com/vulnerability_reports/TALOS-2020-1226"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6216-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-21772"}],"affected":[{"package":{"name":"lib3mf","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/lib3mf@1.8.1+ds-3ubuntu0.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.1+ds-3ubuntu0.2"}]}],"versions":["1.8.1+ds-3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.8.1+ds-3ubuntu0.2","binary_name":"lib3mf1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-21772.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}