🛡️ CVE-2026-43825 — opennlp

🟠 CVSS 7.3 — High ✅ No Known Exploit CWE-502 NVD
7.3
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity low, availability low.

Weakness class

CVE-2026-43825 is classified as CWE-502: Deserialization of Untrusted Data. Serialised data from an untrusted source is reconstructed into objects, which can trigger code during the process.

Affected software

CVE-2026-43825 is recorded against 1 package.

  • opennlp

Timeline and source

Published on 6 July 2026 and last revised on 8 July 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

lists.apache.org
www.openwall.com

Details

Severity HIGH
CVSS Score 7.3
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CWE CWE-502
Public Exploit ✅ No
Source NVD
Published 2026-07-06
Updated 2026-08-11
Modified 2026-07-08
Fix URL N/A

Affected Packages

Software From version Fixed in
opennlp

Similar Threats

Site Security Check

Is opennlp part of your stack?

CVE-2026-43825 is rated CVSS 7.3 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.