UBUNTU-CVE-2026-43825

Source
https://ubuntu.com/security/CVE-2026-43825
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-43825.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-43825
Upstream
Published
2026-07-06T17:16:00Z
Modified
2026-07-09T17:15:35.076413204Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Untrusted Java Deserialization in Apache OpenNLP SvmDoccatModel Versions Affected:   before 3.0.0-M4 (libsvm document categorization module; introduced in   OPENNLP-1808 and only present on the 3.x line) Description: SvmDoccatModel.deserialize(InputStream) reads an attacker-controlled stream with java.io.ObjectInputStream and calls readObject() without an ObjectInputFilter installed. ObjectInputStream materialises every class referenced in the stream before the resulting object is cast to SvmDoccatModel, so the cast that follows readObject() executes only after the foreign object graph has already been deserialised in full. If a Java deserialization gadget chain is available on the consumer's classpath, a crafted payload supplied to deserialize() executes arbitrary code in the JVM that loads it. Apache OpenNLP itself does not ship a known gadget chain, so the realistic risk is to downstream applications that embed the libsvm module alongside vulnerable transitive dependencies. The method is public and static, so any caller can pass an untrusted stream to it directly. The practical impact is remote code execution against processes that load SvmDoccatModel instances from untrusted or semi-trusted origins. Mitigation: 3.x users should upgrade to 3.0.0-M4. Users who cannot upgrade immediately should treat all serialized SvmDoccatModel streams as untrusted input unless their provenance is verified, and should avoid invoking SvmDoccatModel.deserialize() on streams supplied by end users or fetched from third-party sources without integrity checks.

References

Affected packages

Ubuntu:20.04:LTS / apache-opennlp

Package

Name
apache-opennlp
Purl
pkg:deb/ubuntu/apache-opennlp?arch=source&distro=focal

Affected ranges

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

Affected versions

1.*
1.9.1-2
1.9.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libapache-opennlp-java",
            "binary_version": "1.9.2-1"
        },
        {
            "binary_name": "opennlp",
            "binary_version": "1.9.2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-43825.json"

Ubuntu:22.04:LTS / apache-opennlp

Package

Name
apache-opennlp
Purl
pkg:deb/ubuntu/apache-opennlp?arch=source&distro=jammy

Affected ranges

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

Affected versions

1.*
1.9.3-1
1.9.4-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libapache-opennlp-java",
            "binary_version": "1.9.4-1"
        },
        {
            "binary_name": "opennlp",
            "binary_version": "1.9.4-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-43825.json"

Ubuntu:24.04:LTS / apache-opennlp

Package

Name
apache-opennlp
Purl
pkg:deb/ubuntu/apache-opennlp?arch=source&distro=noble

Affected ranges

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

Affected versions

2.*
2.3.0-1
2.3.1-1
2.3.1-2
2.3.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libapache-opennlp-java",
            "binary_version": "2.3.2-1"
        },
        {
            "binary_name": "opennlp",
            "binary_version": "2.3.2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-43825.json"

Ubuntu:25.10 / apache-opennlp

Package

Name
apache-opennlp
Purl
pkg:deb/ubuntu/apache-opennlp?arch=source&distro=questing

Affected ranges

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

Affected versions

2.*
2.5.3-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libapache-opennlp-java",
            "binary_version": "2.5.3-1"
        },
        {
            "binary_name": "opennlp",
            "binary_version": "2.5.3-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-43825.json"

Ubuntu:26.04:LTS / apache-opennlp

Package

Name
apache-opennlp
Purl
pkg:deb/ubuntu/apache-opennlp?arch=source&distro=resolute

Affected ranges

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

Affected versions

2.*
2.5.3-1
2.5.3-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libapache-opennlp-java",
            "binary_version": "2.5.3-1build1"
        },
        {
            "binary_name": "opennlp",
            "binary_version": "2.5.3-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-43825.json"