CVE-2026-43825Apache OpenNLP :: Core :: ML :: LibSVM: Unsafe Java Deserialization in SvmDoccatModel
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.
What to do
Likely to be exploited: EPSS gives a 14% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | apache-opennlp | Fix pending | UBUNTU-CVE-2026-43825 | |
| Ubuntu 26.04 | apache-opennlp | Under investigation | UBUNTU-CVE-2026-43825 | |
| Ubuntu 25.10 | apache-opennlp | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-43825 | |
| Ubuntu 24.04 | apache-opennlp | Under investigation | UBUNTU-CVE-2026-43825 | |
| Ubuntu 22.04 | apache-opennlp | Under investigation | UBUNTU-CVE-2026-43825 | |
| Ubuntu 20.04 | apache-opennlp | Fix pending | UBUNTU-CVE-2026-43825 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache OpenNLP :: Core :: ML :: LibSVM: affected: 3.0.0-M1 to before 3.0.0-M4; fixed in
3.0.0-M4
Vendor advisories:
- https://lists.apache.org/thread/c7kom0pgk9cbpfnbooh5m3g85ndf50hn (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.