5.3

CVE-2025-31672: Apache POI: parsing OOXML based files (xlsx, docx, etc.), poi-ooxml could read unexpected data if underlying zip has duplicate zip entry names

Analyzed
AliasesUBUNTU-CVE-2025-31672DEBIAN-CVE-2025-31672CGA-5pfp-fmc9-vhf3
Published 09-04-2025Last modified 23-05-2025

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.38% chance of exploitation in the next 30 days, higher than 73% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
1.38%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 09-04-2025
    PublishedVulnerability first disclosed.
  2. 23-05-2025
    Last 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

EPSS trend

Probability

1.38%

Chance of exploitation in the next 30 days

Percentile

73%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.38% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

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
Apache software foundation1 product
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 links
Show all 13 references