# CVE-2023-22899: Zip4j Origin Validation Error

- Severity: Medium 5.9 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- 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): 0.71%, higher than 49% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-01-10T00:00:00.000Z
- Modified: 2026-06-17T05:36:23.250Z
- Also known as: GHSA-2pj2-gchf-wmw7
- Weaknesses: CWE-346
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

Zip4j through 2.11.2, as used in Threema and other products, does not always check the MAC when decrypting a ZIP archive.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- net.lingala.zip4j:zip4j (Maven): before 2.11.3
- zip4j_project zip4j: up to 2.11.2

## Every score

- CISA-ADP: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <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://breakingthe3ma.app> (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://github.com/srikanth-lingala/zip4j/releases> (release-notes, third-party-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)

## Sources

- CVE List: [CVE-2023-22899](https://www.cve.org/CVERecord?id=CVE-2023-22899), CVE Terms of Use, modified 2025-04-09
- GitHub Advisory Database: [GHSA-2pj2-gchf-wmw7](https://github.com/advisories/GHSA-2pj2-gchf-wmw7), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-22899](https://nvd.nist.gov/vuln/detail/CVE-2023-22899), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-22899 · Whole record: https://cve.day/CVE-2023-22899.json · Rebuilt by cve.day 2026-11-25T22:58:21.498Z
