CVE catalog

CVE-2025-31672

libapache-poi-java: CVE-2025-31672

[CVE catalog]

Severity
Medium · CVSS 4.4CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
1.35% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibapache-poi-javasid4.1.1-1vulnerable
Debianlibapache-poi-javaforky4.1.1-1vulnerable
Debianlibapache-poi-javatrixie4.0.1-6vulnerable
Debianlibapache-poi-javabookworm4.0.1-4vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibapache-poi-javasourcesid(unfixed)not yet assignedNot reported[1103629]
Debianlibapache-poi-javasourceforky(unfixed)not yet assignedNot reported[1103629]
Debianlibapache-poi-javasourcetrixie(unfixed)not yet assignedNot reported[1103629]
Debianlibapache-poi-javasourcebookworm(unfixed)not yet assignedNot reported[1103629]

[Debian bug #1103629]

Notes

[trixie] libapache-poi-java: Minor issue [bookworm] libapache-poi-java: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 4.0.1-4 · all · bookworm

      Affected

      dsa · libapache-poi-java · debian · bookworm; dsa · libapache-poi-java · debian · 12

    • 4.0.1-4 · all · bookworm

      Affected

      dsa · libapache-poi-java · debian · bookworm; dsa · libapache-poi-java · debian · 12

  • Source package: [libapache-poi-java]

    Details (2)
    • 4.0.1-4 · all · bookworm

      Affected

      dsa · libapache-poi-java · debian · bookworm; dsa · libapache-poi-java · debian · 12

    • 4.0.1-4 · all · bookworm

      Affected

      dsa · libapache-poi-java · debian · bookworm; dsa · libapache-poi-java · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 4.0.1-6 · all · trixie

      Affected

      dsa · libapache-poi-java · debian · 13

    • 4.0.1-6 · all · trixie

      Affected

      dsa · libapache-poi-java · debian · 13

  • Source package: [libapache-poi-java]

    Details (2)
    • 4.0.1-6 · all · trixie

      Affected

      dsa · libapache-poi-java · debian · 13

    • 4.0.1-6 · all · trixie

      Affected

      dsa · libapache-poi-java · debian · 13

Observed:

References