CVE-2025-31672 Details
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.
A vulnerability allowing improper input validation has been identified in Apache POI versions prior to 5.4.0. This issue affects the parsing of OOXML format files, such as xlsx, docx, and pptx, which are essentially zip files. Malicious users can exploit this vulnerability by adding zip entries with duplicate names, including the path, into the zip file. When an application processes the affected file, it may read different data depending on which zip entry is selected, leading to inconsistent data interpretation across different products.
Users are advised to upgrade to Apache POI version 5.4.0 or later, which includes a validation check that throws an exception if duplicate zip entry names are detected. For guidance on using Apache POI securely, refer to the Apache POI security recommendations.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://security.netapp.com/advisory/ntap-20250523-0004/ | CVE | Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2025/04/08/2 | CVE | Mailing ListThird Party Advisory |
| https://bz.apache.org/bugzilla/show_bug.cgi?id=69620 | [email protected] | Permissions Required |
| https://lists.apache.org/thread/k14w8vcjqy4h34hh5kzldko78kpylkq5 | [email protected] | Mailing ListVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
| CWE-20 | Improper Input Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apache poi | < 5.4.0 |
CPE
Remediation
| |
| netapp active iq unified manager | All versions |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jul 15, 2025 | Initial Analysis | [email protected] |
| May 23, 2025 | CVE Modified | CVE |
| Apr 18, 2025 | CVE Modified | CISA-ADP |
| Apr 9, 2025 | CVE Modified | CVE |
| Apr 9, 2025 | New CVE Received | [email protected] |