Skip to main content
VulnerabilityPublished Updated

CVE-2025-31672: Libapache poi java · Improper Input Validation vulnerability in Apache POI

Affects libapache-poi-javaSource GCVE Database

0
Compare

Not known to be exploited · CVSS 5.3 Medium.

Data as of 24 Nov 2026, 19:55 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Apr 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libapache-poi-javapkg:deb/ubuntu/libapache-poi-java?arch=source&distro=stonkingOther threatsAffected
  • =4.0.1-6
Fixed in–
Ubuntu 26.04 LTSlibapache-poi-javapkg:deb/ubuntu/libapache-poi-java?arch=source&distro=resoluteOther threatsAffected
  • =4.0.1-6
Fixed in–
Ubuntu 25.10libapache-poi-javapkg:deb/ubuntu/libapache-poi-java?arch=source&distro=questingOther threatsAffected
  • =4.0.1-6
Fixed in–
Ubuntu 24.04 LTSlibapache-poi-javapkg:deb/ubuntu/libapache-poi-java?arch=source&distro=nobleOther threatsAffected
  • =4.0.1-4
  • =4.0.1-5
  • =4.0.1-6
Fixed in–
Ubuntu 22.04 LTSlibapache-poi-javapkg:deb/ubuntu/libapache-poi-java?arch=source&distro=jammyOther threatsAffected
  • =4.0.1-1
  • =4.0.1-2
  • =4.0.1-3
Fixed in–
Ubuntu 20.04 LTSlibapache-poi-javapkg:deb/ubuntu/libapache-poi-java?arch=source&distro=focalOther threatsAffected
  • =4.0.1-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…