MEDIUM · CVSS 5.3 Published: 2025-04-09

CVE-2025-31672 — Technical Security Advisory & CVSS Profile

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.

Technical Metadata

IdentifierCVE-2025-31672
Base Severity / ScoreMEDIUM (5.3 / 10.0)
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness ClassificationCWE-20
Archive CategoriesMEDIUM Advisories · 2025 Index

Operational Mitigation Guidance

Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2025-3167 MEDIUM 6.5
CVE-2025-31673 MEDIUM 4.6
CVE-2025-31654 MEDIUM 5.3
CVE-2025-3166 MEDIUM 5.3
CVE-2025-31675 MEDIUM 5.4
CVE-2025-31679 MEDIUM 6.1