CVE-2026-43825
CVE-2026-43825 · Apache OpenNLP :: Core :: ML :: LibSVM: Unsafe Java Deserialization in SvmDoccatModel
CVSS 7.3 · High · EPSS 13.9%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- apache opennlp :: core :: ml :: libsvmNo fix published
- apache-opennlp Ubuntu 20.04 LTSNo fix published
- apache-opennlp Ubuntu 22.04 LTSNo fix published
- apache-opennlp Ubuntu 24.04 LTSNo fix published
- and 3 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="apache-opennlp"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2026:12616-1 · openSUSE Tumbleweed ·
Stack: system
Affected products and versions
apache opennlp :: core :: ml :: libsvm
- Versions
- ≥ 3.0.0-M1, < 3.0.0-M4: Affected (semver)
No fix published
apache-opennlp Ubuntu 20.04 LTS
- Versions
- 1.9.1-2
- 1.9.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
apache-opennlp Ubuntu 22.04 LTS
- Versions
- 1.9.3-1
- 1.9.4-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
apache-opennlp Ubuntu 24.04 LTS
- Versions
- 2.3.0-1
- 2.3.1-1
- 2.3.1-2
- 2.3.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
apache-opennlp Ubuntu 25.10
- Versions
- 2.5.3-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
apache-opennlp Ubuntu 26.10
- Versions
- 2.5.3-1build1
- 2.5.9-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
apache-opennlp Ubuntu 26.04 LTS
- Versions
- 2.5.3-1
- 2.5.3-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published