Apache OpenNLP :: Core :: ML :: LibSVM: Unsafe Java Deserialization in SvmDoccatModel
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-502.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache OpenNLP :: Core :: ML :: LibSVM | 3.0.0-M1 to before 3.0.0-M4 | 3.0.0-M4 | Patch available | CNA |
- Apache OpenNLP :: Core :: ML :: LibSVM VendorApache Affected 3.0.0-M1 to before 3.0.0-M4 Fixed in 3.0.0-M4 Patch available CNA
Remediation
- Fix · CNA Apache OpenNLP :: Core :: ML :: LibSVM (Apache Software Foundation) Fixed in 3.0.0-M4
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 3 products
- Red Hat Data Grid 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat OpenShift AI (RHOAI)
Timeline
- 2026-10-02 Threatist record created from CVE-2026-43825
- 2026-10-03 Alias added: GHSA-g4fv-7mf3-543r
References
More Apache Opennlp vulnerabilities
- TI-2026-56958 Apache OpenNLP, Apache OpenNLP: ReDoS / stack exhaustion in RegexNameFinderFactory built-in EMAIL and URL patterns CVSS 4.0CRITICAL 10.0
- TI-2026-30407 Apache OpenNLP: Arbitrary Class Instantiation via Model Manifest in ExtensionLoader CVSS 3.1CRITICAL 9.8
- TI-2026-29367 Apache OpenNLP: XXE via Dictionary Parsing in DictionaryEntryPersistor CVSS 3.1CRITICAL 9.1
- TI-2017-09345 XML external entity injection in Apache OpenNLP CVSS 3.0CRITICAL 9.8
- TI-2026-47528 Apache OpenNLP: OOM DoS via Unbounded Array Allocation in SymSpellModelSerializer CVSS 3.1HIGH 7.5
- TI-2026-30730 Apache OpenNLP: OOM DoS via Unbounded Array Allocation in AbstractModelReader CVSS 3.1HIGH 7.5
Sources
- CVE-2026-43825 · CVE Program
- CVE-2026-43825 · NVD
- FIRST EPSS
- GHSA-g4fv-7mf3-543r · GitHub Advisory Database · CC BY 4.0
- CVE-2026-43825 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences