CVE Watchtower

CVE-2025-31672Apache Poi Improper Input Validation

NVDCVSS scored by 134c704f-9b21-4f2e-91b3-4a467353bcc0

Vulnerability Summary

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.
Severity Level
MEDIUM(5.3)
Published Date
Apr 9, 2025
Last Modified
Jul 15, 2025
Exploitation Status
No confirmed exploitation yet
Root Weakness (CWE)
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required.
CVSS v3.1 Base Metrics — Score 5.3 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityLow
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • Apache Poi < 5.4.0
  • Netapp Active Iq Unified Manager
Patched Versions
  • Apache Poi 5.4.0

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Apache Poi and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Apr 9, 2025Published
  • Jul 15, 2025Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Apache Poi CVEsYou are reading CVE-2025-31672. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

More Apache Poi CVEs

Data last checked: Nov 13, 2026 21:28 UTC