Security mailing lists by PureSourceCode

CVE-2025-31672

MEDIUM 5.3CVSS 3.1

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.

Published
9 Apr 2025
Last modified
10 Sep 2026
Assigned by
security@apache.org
NVD status
Analyzed
Weakness
CWE-20
Also known as
GHSA-gmg8-593g-7mv3
Sources
NVDJSONOSV GHSA-gmg8-593g-7mv3JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.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
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache poi
cpe:2.3:a:apache:poi:*:*:*:*:*:*:*:*
< 5.4.0 5.4.0
NVD netapp active_iq_unified_manager
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:linux:*:*
(no version)
NVD netapp active_iq_unified_manager
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*
(no version)
NVD netapp active_iq_unified_manager
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:*
(no version)
OSV Maven org.apache.poi:poi-ooxml < 5.4.0 5.4.0

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 9 Apr 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Apr 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.