Skip to main content
VulnerabilityPublished

CVE-2026-43825: Apache OpenNLP :: Core :: ML :: LibSVM · Deserialization of Untrusted Data

Affects Apache OpenNLP :: Core :: ML :: LibSVMSource CVE Database V5

0
Compare

Not known to be exploited · 13% EPSS · CVSS 7.3 High : upgrade to 3.0.0-M4 soon.

Data as of 18 Nov 2026, 20:25 UTC

CVSS 3.1 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
13.9% chance of exploitation in 30 days – higher than 96% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.0.0-M4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Jul 2026

  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 18 Nov 2026.

What to do

Upgrade Apache to 3.0.0-M4.

Affected software

ProductAffectedFixed in
Apache Software FoundationApache OpenNLP :: Core :: ML :: LibSVMAffected
  • >=3.0.0-M1 <3.0.0-M4
Fixed in
  • 3.0.0-M4
MavenApache Software Foundation/org.apache.opennlp:opennlp-ml-libsvmpkg:maven/Apache Software Foundation/org.apache.opennlp:opennlp-ml-libsvmOther threatsAffected
  • >=3.0.0-M1 <3.0.0-M4
Fixed in
  • 3.0.0-M4

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

AI-suggested

Users of Apache OpenNLP 3.x should upgrade to version 3.0.0-M4, which addresses this vulnerability. For those unable to upgrade immediately, it is critical to treat all serialized SvmDoccatModel streams as untrusted unless their provenance is verified. Avoid calling SvmDoccatModel.deserialize() on streams from end users or third-party sources without integrity checks.

Description

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

Community reviews

Loading reviews…