CVE-2025-31672 Apache POI OOXML Vulnerable to Improper Input Validation in OOXML File Parsing

Medium 5.3 Published Updated

Attackers can craft OOXML files with duplicate zip entries to cause inconsistent data reading, potentially exposing unexpected information to applications using Apache POI.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-31672?

CVE-2025-31672 is a medium-severity vulnerability in Netapp Active Iq Unified Manager, published on 9 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-20

Which versions are affected by CVE-2025-31672?

2 open source packages ship an affected version, including org.apache.poi:poi-ooxml. It affects 2 products.

PackageAffectedFixed in
org.apache.poi:poi-ooxml MavenAll versions5.4.0
org.apache.poi:poi-ooxml MavenAll versions5.4.0

Products include Apache Poi, Netapp Active Iq Unified Manager.

How do I fix CVE-2025-31672?

Upgrade org.apache.poi:poi-ooxml to 5.4.0 or later.

Is CVE-2025-31672 being exploited?

There is no known exploitation of CVE-2025-31672 in the wild and no public exploit code.

All Netapp Active Iq Unified Manager vulnerabilities

Sources

Also known as CLSA-2026-1778028244, DEBIAN-CVE-2025-31672, ECHO-35f1-f238-ebcf, GHSA-gmg8-593g-7mv3, MINI-37g9-jcvf-8jv8, MINI-c9p6-6jwc-24c3 and 2 more.

Is CVE-2025-31672 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free