Skip to main content
No exploitation reportedFix available

CVE-2025-31672

No exploitation reported by the sources we read.

  • Published2025-04-09
  • Fixed in5.4.0
  • WeaknessCWE-20

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Improper 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.

Timeline

dates in UTC
  1. 2025-04-0912:15CVE publishedNVD

Versions per branch

NVD · OSV
Apache poi
BranchAffectedFixed in
5.4< 5.4.05.4.0
Netapp active iq unified manager
BranchAffectedFixed in
—all versionsno fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As apache, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2025-04-09

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • elasticsearch-8.15MinimOSall versions · no fixed version listedand 2 other packages
  • libapache-poi-javaUbuntu:26.10all versions · no fixed version listed
  • libapache-poi-javaUbuntu:26.04:LTSall versions · no fixed version listed
  • libapache-poi-javaUbuntu:25.10all versions · no fixed version listed
  • libapache-poi-javaUbuntu:24.04:LTSall versions · no fixed version listed
  • libapache-poi-javaUbuntu:22.04:LTSall versions · no fixed version listed
  • libapache-poi-javaUbuntu:20.04:LTSall versions · no fixed version listed
  • libapache-poi-javaUbuntu:18.04:LTSall versions · no fixed version listed

14 more package ranges on OSV.dev

Vendor advisories

  • CVE-2025-31672 Red Hat Product Security11 known affected

    org.apache.poi/poi-ooxml: Apache POI: parsing OOXML based files (xlsx, docx, etc.), poi-ooxml could read unexpected data if underlying zip has duplicate zip entry names

    poi-ooxml as a component of Logging Subsystem for Red Hat OpenShift · poi-ooxml as a component of Red Hat build of Apicurio Registry 3 · poi-ooxml as a component of Red Hat build of OptaPlanner 8 · +8 more

Full record on NVD

Fix

  1. Update Apache poi to 5.4.0
  2. Workaround from the vendor Red Hat Product Security CVE-2025-31672 · 11 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
  3. No fix available, says the vendor Red Hat Product Security CVE-2025-31672 · 11 productsFix deferred

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Published
2025-04-09
Last modified
2026-06-17
NVD status
Analyzed
GitHub advisory
GHSA-gmg8-593g-7mv3

Frequently asked questions

What is CVE-2025-31672?

Improper 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.

Is CVE-2025-31672 actively exploited?

Active exploitation of CVE-2025-31672 has not been confirmed. Its EPSS score was 1.4% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-31672?

CVE-2025-31672 has a CVSS v3 base score of 5.3 (Medium severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.

Running poi-ooxml? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record