{"id":"UBUNTU-CVE-2023-22899","details":"Zip4j through 2.11.2, as used in Threema and other products, does not always check the MAC when decrypting a ZIP archive.","modified":"2026-05-20T16:07:27.212593325Z","published":"2023-01-10T02:15:00Z","upstream":["CVE-2023-22899"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-22899"},{"type":"REPORT","url":"https://breakingthe3ma.app/files/Threema-PST22.pdf"},{"type":"REPORT","url":"https://news.ycombinator.com/item?id=34316206"},{"type":"REPORT","url":"https://github.com/srikanth-lingala/zip4j/releases"},{"type":"REPORT","url":"https://breakingthe3ma.app"},{"type":"REPORT","url":"https://threema.ch/en/blog/posts/news-alleged-weaknesses-statement"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-22899"}],"affected":[{"package":{"name":"zip4j","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/zip4j?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.2-2","2.2.2-1","2.2.6-1","2.2.8-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libzip4j-java","binary_version":"2.2.8-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-22899.json"}},{"package":{"name":"zip4j","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/zip4j?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.4-1","2.9.0-1","2.9.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.9.1-1","binary_name":"libzip4j-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-22899.json"}},{"package":{"name":"zip4j","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/zip4j?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.11.5-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libzip4j-java","binary_version":"2.11.5-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-22899.json"}},{"package":{"name":"zip4j","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/zip4j?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.11.5-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libzip4j-java","binary_version":"2.11.5-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-22899.json"}},{"package":{"name":"zip4j","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/zip4j?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.11.5-1","2.11.5-1build1","2.11.6-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.11.6-1","binary_name":"libzip4j-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-22899.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:N/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}