Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 8.8%top 5.2%

CVE-2026-43825: CWE-502 Deserialization of Untrusted Data in Apache Software Foundation Apache OpenNLP :: Core :: ML :: LibSVM

0
High
VulnerabilityCVE-2026-43825cvecve-2026-43825cwe-502
Published: 07/06/2026 (07/06/2026, 15:42:04 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache OpenNLP :: Core :: ML :: LibSVM

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.

CVSS v3.1

Score 7.3high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected software

Apache Software Foundation/org.apache.opennlp:opennlp-ml-libsvm
pkg:maven/Apache Software Foundation/org.apache.opennlp:opennlp-ml-libsvm

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/06/2026, 17:07:42 UTC

Technical Analysis

The vulnerability (CVE-2026-43825) affects Apache OpenNLP's libsvm document categorization module prior to version 3.0.0-M4. The SvmDoccatModel.deserialize(InputStream) method uses java.io.ObjectInputStream to deserialize data from an attacker-controlled stream without an ObjectInputFilter, allowing deserialization of arbitrary objects. Since the deserialization occurs before the cast to SvmDoccatModel, any malicious object graph can be fully materialized. If a Java deserialization gadget chain is present in the application's classpath, this can lead to remote code execution. Apache OpenNLP itself does not include known gadget chains, so the primary risk is to downstream applications embedding this module with vulnerable dependencies. The method is public and static, enabling any caller to pass untrusted streams directly.

Potential Impact

The vulnerability enables remote code execution in JVM processes that deserialize SvmDoccatModel instances from untrusted or semi-trusted sources. This can compromise the confidentiality, integrity, and availability of affected systems. The risk depends on the presence of exploitable gadget chains in the runtime environment, which Apache OpenNLP does not provide by default. Therefore, the impact is primarily on downstream applications that include vulnerable transitive dependencies alongside the libsvm module.

Mitigation Recommendations

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. No official patch or fix advisory is provided in the input data; therefore, patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-05-02T08:57:20.984Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4bdd5a27e9c79719dab256

Added to database: 07/06/2026, 16:52:42 UTC

Last enriched: 07/06/2026, 17:07:42 UTC

Last updated: 08/19/2026, 22:52:12 UTC

Views: 109

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses