CVE-2025-31672: apache software foundation apache poi Improper Input Validation
Vulnerability summary
CVE-2025-31672 is a medium (CVSS 5.3) Improper Input Validation vulnerability in apache software foundation apache poi. EPSS estimates a 1.35% chance of exploitation in the next 30 days, higher than 71.1% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 09-04-2025PublishedVulnerability first disclosed.
- 23-05-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · MavenEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
1.35%
Chance of exploitation in the next 30 days
Percentile
71%
Versus all other CVEs
30-day change
+0.02 pp
From 1.33% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard45 products
- opensearch-2< 2.19.1-r2
- opensearch-2-alerting< 2.19.1-r2
- opensearch-2-analysis-icu< 2.19.1-r2
- opensearch-2-analysis-kuromoji< 2.19.1-r2
- opensearch-2-analysis-nori< 2.19.1-r2
Apache1 product
- poi< 5.4.0
Apache software foundation1 product
- apache poi< 5.4.0
Debian1 product
- libapache-poi-javaAll versions (No fix recorded)
Netapp1 product
Org.apache.poi1 product
- poi-ooxml< 5.4.0
Ubuntu1 product
- libapache-poi-javaAll versions (No fix recorded)
Wolfi1 product
- opensearch-2< 2.19.1-r2
8 vendors · 52 products
References
13 linksShow all 13 references
- github.com/apache/poiPACKAGE