CVE Watchtower

CVE-2026-43825Apache Opennlp Deserialization of Untrusted Data

NVDCVSS scored by 134c704f-9b21-4f2e-91b3-4a467353bcc0

Vulnerability Summary

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.
Severity Level
HIGH(7.3)
Published Date
Jul 6, 2026
Last Modified
Oct 25, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
13.92%Probability
Root Weakness (CWE)
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
CVSS v3.1 Base Metrics — Score 7.3 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityLow
IntegrityLow
AvailabilityLow

Affected & Patched Versions

Affected Versions
  • Apache Opennlp
  • Apache Software Foundation Apache OpenNLP :: Core :: ML :: LibSVM >= 3.0.0-M1 and < 3.0.0-M4
Patched Versions
  • Apache Software Foundation Apache OpenNLP :: Core :: ML :: LibSVM 3.0.0-M4

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run Apache Opennlp and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Jul 6, 2026Published
  • Oct 25, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Apache Opennlp CVEsYou are reading CVE-2026-43825. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 25, 2026 15:40 UTC