logo

CVE-2025-31672 org.apache.poi:poi-ooxml

Package

Manager: maven
Name: org.apache.poi:poi-ooxml
Vulnerable Version: >=0 <5.4.0

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

CVSS v4.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

EPSS: 0.00199 pctl0.42175

Details

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

Metadata

Created: 2025-04-09T12:30:24Z
Modified: 2025-05-23T15:31:06Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-gmg8-593g-7mv3/GHSA-gmg8-593g-7mv3.json
CWE IDs: ["CWE-20"]
Alternative ID: GHSA-gmg8-593g-7mv3
Finding: F184
Auto approve: 1