CVE-2023-22899
MEDIUM 5.9CVSS 3.1Zip4j Origin Validation Error
Zip4j through 2.11.2, as used in Threema and other products, does not always check the MAC when decrypting a ZIP archive.
- Published
- 10 Jan 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-346
- Also known as
- GHSA-2pj2-gchf-wmw7
- Sources
- NVDJSONOSV GHSA-2pj2-gchf-wmw7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | zip4j_project | zip4jcpe:2.3:a:zip4j_project:zip4j:*:*:*:*:*:*:*:* |
<= 2.11.2 | |
| OSV | Maven | net.lingala.zip4j:zip4j | < 2.11.3 | 2.11.3 |
References
- https://breakingthe3ma.app · Third Party Advisory, WEB
- https://breakingthe3ma.app/files/Threema-PST22.pdf · Exploit, Technical Description, Third Party Advisory, WEB
- https://github.com/srikanth-lingala/zip4j/issues/485 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/srikanth-lingala/zip4j/releases · Release Notes, Third Party Advisory, WEB
- https://news.ycombinator.com/item?id=34316206 · Third Party Advisory, WEB
- https://threema.ch/en/blog/posts/news-alleged-weaknesses-statement · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-22899 · ADVISORY
- https://github.com/srikanth-lingala/zip4j · PACKAGE
- https://github.com/srikanth-lingala/zip4j/releases/tag/v2.11.3 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 10 Jan 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Jan 2023)