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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.poi:poi-ooxml | < 5.4.0 | 5.4.0 |
Verweise
- https://nvd.nist.gov/vuln/detail/CVE-2025-31672
- https://bz.apache.org/bugzilla/show_bug.cgi?id=69620
- https://github.com/apache/poi
- https://lists.apache.org/thread/k14w8vcjqy4h34hh5kzldko78kpylkq5
- https://security.netapp.com/advisory/ntap-20250523-0004
- http://www.openwall.com/lists/oss-security/2025/04/08/2
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N- Schwäche (CWE)
CWE-20- Plattform
- Java / Kotlin (Maven)
- Paket
org.apache.poi:poi-ooxml- Veröffentlicht
- 09.04.2025
- Aktualisiert
- 11.10.2026 13:20
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-gmg8-593g-7mv3 - CC BY 4.0
Schwachstellenhistorie: org.apache.poi:poi-ooxml
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
Dies ist die einzige bekannte Schwachstelle dieses Pakets.
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.