{"id":81598,"date":"2026-07-06T20:46:31","date_gmt":"2026-07-06T17:16:31","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-43825-apache-opennlp-core-ml-libsvm-unsafe-java-deserialization-in-svmdoccatmodel\/"},"modified":"2026-07-06T20:46:31","modified_gmt":"2026-07-06T17:16:31","slug":"cve-2026-43825-apache-opennlp-core-ml-libsvm-unsafe-java-deserialization-in-svmdoccatmodel","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-43825-apache-opennlp-core-ml-libsvm-unsafe-java-deserialization-in-svmdoccatmodel\/","title":{"rendered":"CVE-2026-43825 &#8211; Apache OpenNLP :: Core :: ML :: LibSVM: Unsafe Java Deserialization in SvmDoccatModel"},"content":{"rendered":"<p>CVE ID :CVE-2026-43825<\/p>\n<p>  Published : July 6, 2026, 5:16 p.m. | 31\u00a0minutes ago<\/p>\n<p>  Description :Untrusted Java Deserialization in Apache OpenNLP SvmDoccatModel<\/p>\n<p>Versions Affected:<br \/>\n\u00a0 before 3.0.0-M4 (libsvm document categorization module; introduced in<br \/>\n\u00a0 OPENNLP-1808 and only present on the 3.x line)<\/p>\n<p>Description:<br \/>\nSvmDoccatModel.deserialize(InputStream) reads an attacker-controlled<br \/>\nstream with java.io.ObjectInputStream and calls readObject() without an<br \/>\nObjectInputFilter installed. ObjectInputStream materialises every class<br \/>\nreferenced in the stream before the resulting object is cast to<br \/>\nSvmDoccatModel, so the cast that follows readObject() executes only<br \/>\nafter the foreign object graph has already been deserialised in full.<\/p>\n<p>If a Java deserialization gadget chain is available on the consumer&#8217;s<br \/>\nclasspath, a crafted payload supplied to<br \/>\ndeserialize() executes arbitrary code in the JVM that loads it. Apache<br \/>\nOpenNLP itself does not ship a known gadget chain, so the realistic<br \/>\nrisk is to downstream applications that embed the libsvm module<br \/>\nalongside vulnerable transitive dependencies. The method is public and<br \/>\nstatic, so any caller can pass an untrusted stream to it directly.<\/p>\n<p>The practical impact is remote code execution against processes that<br \/>\nload SvmDoccatModel instances from untrusted or semi-trusted origins.<\/p>\n<p>Mitigation:<\/p>\n<p>3.x users should upgrade to 3.0.0-M4.<\/p>\n<p>Users who cannot upgrade immediately should treat all serialized<br \/>\nSvmDoccatModel streams as untrusted input unless their provenance is<br \/>\nverified, and should avoid invoking SvmDoccatModel.deserialize() on<br \/>\nstreams supplied by end users or fetched from third-party sources<br \/>\nwithout integrity checks.<\/p>\n<p>  Severity: 0.0 | NA<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-43825 Published : July 6, 2026, 5:16 p.m. | 31\u00a0minutes ago Description :Untrusted Java Deserialization in Apache OpenNLP SvmDoccatModel Versions Affected: \u00a0 before 3.0.0-M4 (libsvm document categorization module; introduced in \u00a0 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-81598","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81598","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=81598"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81598\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=81598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=81598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=81598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}