Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-22899

CVE-2023-22899: Zip4j Information Disclosure Vulnerability

CVE-2023-22899 is an information disclosure vulnerability in Zip4j_project Zip4j that fails to verify MAC during ZIP decryption. This flaw affects versions through 2.11.2 and is used in Threema. Learn the technical details, affected versions, impact, and mitigation strategies.

Published: February 4, 2026

CVE-2023-22899 Overview

CVE-2023-22899 is a cryptographic vulnerability in Zip4j through version 2.11.2, a popular Java library for handling ZIP archives. The library, which is used in products such as Threema, does not always verify the Message Authentication Code (MAC) when decrypting a ZIP archive. This missing integrity check allows attackers to potentially tamper with encrypted ZIP archive contents without detection, undermining the confidentiality guarantees expected from encrypted archives.

Critical Impact

Attackers can modify encrypted ZIP archive contents without the application detecting the tampering, enabling potential data integrity attacks on applications relying on Zip4j for secure archive handling.

Affected Products

  • Zip4j versions through 2.11.2
  • Threema and other products utilizing vulnerable Zip4j versions
  • Applications using zip4j_project zip4j library

Discovery Timeline

  • 2023-01-10 - CVE-2023-22899 published to NVD
  • 2025-04-09 - Last updated in NVD database

Technical Details for CVE-2023-22899

Vulnerability Analysis

This vulnerability is classified under CWE-346 (Origin Validation Error), which relates to the failure to properly validate the origin or authenticity of data. In the context of Zip4j, the library implements AES encryption for ZIP archives but fails to consistently verify the MAC during the decryption process. The MAC serves as a cryptographic checksum that ensures the encrypted data has not been modified since encryption.

When Zip4j decrypts an AES-encrypted ZIP archive, it should verify the MAC to confirm data integrity before presenting the decrypted contents to the application. The vulnerability arises because this verification step is not always performed, creating a window where an attacker could modify the ciphertext in the archive. Without MAC verification, the library cannot detect such modifications, and the application receives potentially tampered data without any warning.

The attack requires network access and involves high complexity, as the attacker must intercept or modify ZIP archives in transit or at rest. While no privileges are required and no user interaction is needed, successful exploitation directly impacts data integrity.

Root Cause

The root cause of CVE-2023-22899 lies in the inconsistent implementation of MAC verification within Zip4j's decryption routines. During the decryption of AES-encrypted ZIP entries, the library should always compute and compare the MAC of the decrypted data against the stored authentication tag. However, certain code paths in versions through 2.11.2 bypass or omit this critical verification step, allowing modified ciphertext to pass through without raising an integrity error.

Attack Vector

The attack vector is network-based, meaning an attacker positioned to intercept or modify ZIP archives during transmission could exploit this vulnerability. The attack scenario involves:

  1. An attacker intercepts an AES-encrypted ZIP archive being transmitted to a target application
  2. The attacker modifies the encrypted contents of the archive, manipulating specific bytes of ciphertext
  3. The modified archive is delivered to the application using the vulnerable Zip4j library
  4. When the application decrypts the archive, Zip4j fails to verify the MAC
  5. The tampered data is extracted and processed by the application without any integrity warning

This vulnerability is particularly concerning for applications that rely on encrypted ZIP archives for secure data exchange, backup verification, or secure messaging functionality.

Detection Methods for CVE-2023-22899

Indicators of Compromise

  • Unexpected or corrupted data extracted from ZIP archives that were expected to be integrity-protected
  • Application errors or anomalies when processing encrypted ZIP files
  • Log entries indicating decryption operations completed without MAC verification warnings
  • Data inconsistencies in systems that receive ZIP archives from external sources

Detection Strategies

  • Audit application dependencies to identify usage of Zip4j versions 2.11.2 or earlier
  • Implement network monitoring to detect potentially modified ZIP archives in transit
  • Review application logs for decryption operations and verify MAC validation is occurring
  • Use software composition analysis (SCA) tools to identify vulnerable Zip4j dependencies

Monitoring Recommendations

  • Monitor for unexpected changes in data extracted from encrypted ZIP archives
  • Implement integrity checks at the application layer as an additional defense
  • Track Zip4j library versions across all applications and services in the environment
  • Set up alerts for dependency scanners that flag vulnerable Zip4j versions

How to Mitigate CVE-2023-22899

Immediate Actions Required

  • Update Zip4j to the latest version available from the official releases page
  • Review all applications using Zip4j and prioritize updates for those handling sensitive data
  • Implement application-level integrity verification as a defense-in-depth measure
  • Audit recent ZIP archive processing for potential data integrity issues

Patch Information

The vulnerability affects Zip4j through version 2.11.2. Users should upgrade to a patched version by consulting the Zip4j releases page for the latest secure release. The fix ensures that MAC verification is consistently performed during decryption of AES-encrypted ZIP entries.

For detailed technical discussion of this issue, refer to GitHub Issue #485 on the Zip4j repository. Threema users can review the vendor statement for product-specific guidance.

Workarounds

  • Implement additional integrity verification at the application layer before trusting extracted data
  • Use alternative ZIP libraries with verified MAC checking until Zip4j can be updated
  • Restrict processing of ZIP archives to trusted sources only
  • Consider wrapping ZIP archives in an additional authenticated encryption layer for high-security scenarios
bash
# Example: Check current Zip4j version in Maven projects
grep -r "zip4j" pom.xml
# Update to latest version in pom.xml:
# <dependency>
#   <groupId>net.lingala.zip4j</groupId>
#   <artifactId>zip4j</artifactId>
#   <version>2.11.5</version> <!-- or latest available -->
# </dependency>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechZip4j

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.26%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-346
  • Technical References
  • Breaking the 3MA Website

  • Threema Security Report PDF

  • zip4j Releases on GitHub

  • Hacker News Discussion #34316206
  • Vendor Resources
  • GitHub Issue #485 on zip4j

  • Threema Blog Post on Security
  • Related CVEs
  • CVE-2022-24615: Zip4j Library DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English