CVE-2025-31672: Apache POI - Improper Input Validation
- Cve: CVE-2025-31672
- Name: Apache POI - Improper Input Validation
- 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.
- Impact: Maliciously crafted files can cause inconsistent data reading or potential security issues in products processing these files.
- Remediation: Upgrade to poi-ooxml 5.4.0 or later.
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Epss score: 0.01382
- Epss percentile: 0.72723
- Assignee: [email protected]
- Published at: 2025-04-09T12:15:15Z
- Age in days: 594
- Modified at: 2026-06-17T09:10:44Z
- Patch available: yes
- References total: 4
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-31672
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirements
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
| NVD-CWE-noinfo | — |
Hackerone
- Reports: 3
- Rank: 3240
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://lists.apache.org/thread/k14w8vcjqy4h34hh5kzldko78kpylkq5 | Mailing List, Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2025/04/08/2 | Mailing List, Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20250523-0004/ | Third Party Advisory |
| https://bz.apache.org/bugzilla/show_bug.cgi?id=69620 | Permissions Required |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:poi | < 5.4.0 | no | nvd | /v1/products/apache/poi |
| netapp:active_iq_unified_manager | all versions | no | nvd | /v1/products/netapp/active_iq_unified_manager |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/poi | package | yes | /v1/repositories/apache/poi |
Index
- Repositories: 137
- Repositories high signal: 105
- Packages: 1
Exploitation
- Remote: yes
- Hackerone reports: 3
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts