CVE-2025-31672Apache Poi
Medium 5.3 No auth needed
Follow: this CVE · Apache · Apache Poi We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Apr 9, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Poi.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.poi:poi-ooxml |
< 5.4.0 |
5.4.0 |
— |
Per OSV / GitHub Advisories (GHSA-gmg8-593g-7mv3). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | poi | < 5.4.0 |
| netapp | active_iq_unified_manager | all |
| netapp | active_iq_unified_manager | all |
| netapp | active_iq_unified_manager | all |
Official sources
References
Links published by the sources. Open them with care.
- bz.apache.org Permissions Required
- lists.apache.org Mailing List Vendor Advisory
- www.openwall.com Mailing List Third Party Advisory
- security.netapp.com Third Party Advisory