The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2025-31672

CVE-2025-31672: Apache POI Information Disclosure Flaw

CVE-2025-31672 is an information disclosure vulnerability in Apache POI affecting OOXML file parsing. Malicious zip entries with duplicate names can cause inconsistent data reads. This article covers technical details, affected versions, impact, and mitigation.

Updated: May 14, 2026

CVE-2025-31672 Overview

CVE-2025-31672 is an improper input validation vulnerability in Apache POI, the widely used Java library for reading and writing Microsoft Office file formats. The flaw affects parsing of OOXML files including .xlsx, .docx, and .pptx. Because these formats are ZIP archives, attackers can craft files containing duplicate ZIP entries with identical names. Different applications may select different entries when processing the file, leading to inconsistent data interpretation across systems. The issue affects poi-ooxml versions before 5.4.0 and is tracked under [CWE-20] (Improper Input Validation). NetApp Active IQ Unified Manager is also impacted as a downstream consumer of the library.

Critical Impact

Attackers can craft OOXML documents where security scanners, antivirus engines, and end-user applications read different content from the same file, enabling content-spoofing and policy-bypass attacks.

Affected Products

  • Apache POI poi-ooxml versions prior to 5.4.0
  • NetApp Active IQ Unified Manager (Linux, Windows, VMware vSphere)
  • Any application embedding vulnerable versions of Apache POI for OOXML parsing

Discovery Timeline

  • 2025-04-09 - CVE-2025-31672 published to NVD
  • 2025-07-15 - Last updated in NVD database

Technical Details for CVE-2025-31672

Vulnerability Analysis

The vulnerability resides in how Apache POI processes OOXML container files. OOXML formats such as xlsx, docx, and pptx are ZIP archives containing XML parts that describe document structure and content. The ZIP specification does not prohibit multiple entries with identical names, and different ZIP readers handle duplicates inconsistently. Some implementations return the first matching entry, others return the last, and some surface an error.

Apache POI versions before 5.4.0 accepted OOXML files containing duplicate ZIP entry names without validation. An attacker can place two versions of a critical document part, such as word/document.xml or xl/sharedStrings.xml, inside a single file. A content inspection tool may parse the benign entry while the rendering application opens the malicious one. This parser-differential behavior enables bypass of antivirus, data-loss prevention, and content-filtering controls.

Root Cause

The library performed no uniqueness check on ZIP entry paths during OOXML package loading. The fix in poi-ooxml 5.4.0 adds a check that throws an exception when duplicate file names are detected in the input archive, refusing to parse ambiguous content.

Attack Vector

Exploitation requires network-reachable processing of an attacker-supplied document. No authentication or user interaction is required for systems that automatically ingest documents, such as email gateways, file scanners, document conversion services, or reporting pipelines. The attacker crafts a ZIP archive with duplicated entries pointing to different XML payloads and delivers the file through any channel that feeds Apache POI. The result is integrity loss rather than code execution: tools disagree about what the document contains.

// No verified proof-of-concept code is published.
// See the Apache Bug Report #69620 and the Apache mailing
// list discussion linked in the references for technical detail.

Detection Methods for CVE-2025-31672

Indicators of Compromise

  • OOXML files where the central directory contains two or more entries sharing an identical normalized path
  • Documents that render differently in Microsoft Office versus headless parsing pipelines using Apache POI
  • File-scanning logs showing successful parse by security tooling but downstream errors or anomalies in end-user applications

Detection Strategies

  • Inspect inbound .xlsx, .docx, and .pptx attachments by enumerating ZIP central directory entries and flagging duplicates
  • Compare hashes of extracted parts when the same logical path appears more than once in a single archive
  • Audit application logs for org.apache.poi warnings and for the new duplicate-entry exception introduced in 5.4.0

Monitoring Recommendations

  • Track Apache POI library versions across Java application inventories and build pipelines using software composition analysis
  • Monitor NetApp Active IQ Unified Manager release notes and apply vendor updates referencing NetApp Security Advisory NTAP-20250523-0004
  • Alert on document-handling services that ingest user-supplied OOXML files without ZIP structure validation

How to Mitigate CVE-2025-31672

Immediate Actions Required

  • Upgrade Apache POI poi-ooxml to version 5.4.0 or later in all applications, build artifacts, and container images
  • Apply the NetApp Active IQ Unified Manager update referenced in advisory NTAP-20250523-0004
  • Review the Apache POI security recommendations for safe handling of untrusted documents

Patch Information

Apache POI 5.4.0 resolves the issue by rejecting OOXML packages that contain duplicate ZIP entry names. The fix throws an exception during parsing rather than silently selecting one entry. Coordinate updates with downstream products such as NetApp Active IQ Unified Manager that bundle the library. Full discussion is available in the Apache Mailing List Discussion and Apache Bug Report #69620.

Workarounds

  • Pre-validate OOXML uploads with a custom ZIP entry uniqueness check before passing data to vulnerable Apache POI versions
  • Reject any document whose ZIP central directory contains repeated normalized paths
  • Restrict document ingestion pipelines to authenticated sources where supplier integrity can be verified
bash
# Maven dependency upgrade to the fixed version
# pom.xml
# <dependency>
#   <groupId>org.apache.poi</groupId>
#   <artifactId>poi-ooxml</artifactId>
#   <version>5.4.0</version>
# </dependency>

mvn versions:set-property -Dproperty=poi.version -DnewVersion=5.4.0
mvn dependency:tree | grep poi-ooxml

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechApache Poi

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability1.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-20

  • NVD-CWE-noinfo
  • Technical References
  • Apache Bug Report #69620

  • Openwall OSS Security Update

  • NetApp Security Advisory NTAP-20250523-0004
  • Vendor Resources
  • Apache Mailing List Discussion
  • Latest CVEs
  • CVE-2026-43328: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-43329: Linux Kernel Netfilter DoS Vulnerability

  • CVE-2026-43330: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-43331: Linux Kernel DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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