CVE-2025-31672
MEDIUM 5.3CVSS 3.1Apache POI OOXML Vulnerable to Improper Input Validation in OOXML File Parsing
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.
- Published
- 9 Apr 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-20
- Also known as
- GHSA-gmg8-593g-7mv3
- Sources
- NVDJSONOSV GHSA-gmg8-593g-7mv3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | poicpe:2.3:a:apache:poi:*:*:*:*:*:*:*:* |
< 5.4.0 | 5.4.0 |
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:linux:*:* |
(no version) | |
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* |
(no version) | |
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:* |
(no version) | |
| OSV | Maven | org.apache.poi:poi-ooxml | < 5.4.0 | 5.4.0 |
References
- https://bz.apache.org/bugzilla/show_bug.cgi?id=69620 · Permissions Required, WEB
- https://lists.apache.org/thread/k14w8vcjqy4h34hh5kzldko78kpylkq5 · Mailing List, Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2025/04/08/2 · Mailing List, Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20250523-0004/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-31672 · ADVISORY
- https://github.com/apache/poi · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 9 Apr 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Apr 2025)