UBUNTU-CVE-2025-31672

Source
https://ubuntu.com/security/CVE-2025-31672
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-31672.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-31672
Related
Published
2025-04-09T12:15:00Z
Modified
2025-04-23T15:09:18Z
Summary
[none]
Details

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

Affected packages

Ubuntu:Pro:16.04:LTS / libapache-poi-java

Package

Name
libapache-poi-java
Purl
pkg:deb/ubuntu/libapache-poi-java@3.10.1-2?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.10.1-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / libapache-poi-java

Package

Name
libapache-poi-java
Purl
pkg:deb/ubuntu/libapache-poi-java@4.0.1-1~18.03?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.10.1-3

4.*

4.0.1-1~18.03

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / libapache-poi-java

Package

Name
libapache-poi-java
Purl
pkg:deb/ubuntu/libapache-poi-java@4.0.1-1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.0.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / libapache-poi-java

Package

Name
libapache-poi-java
Purl
pkg:deb/ubuntu/libapache-poi-java@4.0.1-3?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.0.1-1
4.0.1-2
4.0.1-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / libapache-poi-java

Package

Name
libapache-poi-java
Purl
pkg:deb/ubuntu/libapache-poi-java@4.0.1-6?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.0.1-6

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / libapache-poi-java

Package

Name
libapache-poi-java
Purl
pkg:deb/ubuntu/libapache-poi-java@4.0.1-6?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.0.1-4
4.0.1-5
4.0.1-6

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:25.04 / libapache-poi-java

Package

Name
libapache-poi-java
Purl
pkg:deb/ubuntu/libapache-poi-java@4.0.1-6?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.0.1-6

Ecosystem specific

{
    "ubuntu_priority": "medium"
}