CVE-2025-31672
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedImproper Input Validation vulnerability in Apache POI. The issue affects the parsing of OOXML format files like xlsx, docx and pptx. These file formats are basically zip files and it is possible for malicious users to add zip entries with duplicate names (including the path) in the zip. In this case, products reading the affected file could read different data because 1 of the zip entries with the duplicate name is selected over another but different products may choose a different zip entry. This issue affects Apache POI poi-ooxml before 5.4.0. poi-ooxml 5.4.0 has a check that throws an exception if zip entries with duplicate file names are found in the input file. Users are recommended to upgrade to version poi-ooxml 5.4.0, which fixes the issue. Please read https://poi.apache.org/security.html for recommendations about how to use the POI libraries securely.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceApache POI's OOXML parser (for xlsx, docx, pptx) does not properly validate zip entry names when parsing these file formats. Malicious files can contain duplicate zip entries with identical names, causing different products to read different data depending on which entry each product selects.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 5.4.0all versionsCVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Apache POI library versionCheck your project's dependency management (Maven pom.xml, Gradle build.gradle, or JAR file manifest) for the poi-ooxml library versionAffected if The poi-ooxml version is below 5.4.0 or cannot be determined
-
Identify NetApp Active IQ Unified Manager installationCheck if NetApp Active IQ Unified Manager software is installed on the systemAffected if NetApp Active IQ Unified Manager is present (all versions are affected)
-
Determine if OOXML parsing is in useIdentify whether your application or system processes Office Open XML files (xlsx, docx, pptx) using Apache POIAffected if OOXML files are being parsed and the Apache POI version is below 5.4.0 or the NetApp product is in use
-
Check for duplicate zip entry handlingInspect whether your environment processes OOXML files from untrusted sources without additional validationAffected if Untrusted or external OOXML files are processed and the library version is vulnerable
You are affected if Apache POI with poi-ooxml library version below 5.4.0 is in use and processes OOXML files, or if NetApp Active IQ Unified Manager is installed regardless of version.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped5.4.0
Upgrade poi-ooxml library to version 5.4.0 or later, which throws an exception when duplicate zip entries are detected.
poi-ooxml 5.4.0
- 1. Identify all applications or systems that use Apache POI poi-ooxml library with version less than 5.4.0
- 2. Obtain Apache POI poi-ooxml version 5.4.0 or later from the official Apache POI distribution (https://poi.apache.org/download.html) or Maven repository
- 3. Replace the vulnerable poi-ooxml JAR file(s) in your project dependencies with version 5.4.0 or later
- 4. If using Maven or Gradle, update the dependency version to poi-ooxml:5.4.0 or higher
- 5. Rebuild and redeploy the application with the updated library
- 6. Test the application with legitimate OOXML files (xlsx, docx, pptx) to ensure functionality is maintained
- 7. For Active Iq Unified Manager users: contact NetApp support or check security.netapp.com for product-specific patches since this product affects all versions
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation4.0 h
- Testing6.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,416.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-31672 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-31672 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data