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

5.3MEDIUM

Key Information:

Vendor

Apache

Vendor
CVE Published:
9 April 2025

What is CVE-2025-31672?

An improper input validation vulnerability exists in Apache POI affecting the processing of OOXML format files such as xlsx, docx, and pptx. Due to the ZIP file structure of these formats, malicious users can insert duplicate entries with the same name, causing inconsistencies during file reading. Products utilizing Apache POI may inadvertently select different data based on varying zip entry resolutions. To mitigate this issue, users are advised to upgrade to version poi-ooxml 5.4.0, which implements a check for duplicate zip entries and prevents this vulnerability. Further secure usage of POI libraries is recommended in the vendor's security advice.

Affected Version(s)

Apache POI 0 < 5.4.0

References

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-31672 : Improper Input Validation in Apache POI Affecting OOXML File Parsing