{"id":"CVE-2026-43825","published":"2026-07-06T15:42:04Z","modified":"2026-07-06T20:38:00Z","title":"Apache OpenNLP :: Core :: ML :: LibSVM: Unsafe Java Deserialization in SvmDoccatModel","vendor":"Apache","product":"Apache OpenNLP :: Core :: ML :: LibSVM","tier":"tail","description":{"text":"Untrusted Java Deserialization in Apache OpenNLP SvmDoccatModel\n\nVersions Affected:\n  before 3.0.0-M4 (libsvm document categorization module; introduced in\n  OPENNLP-1808 and only present on the 3.x line)\n\nDescription:\nSvmDoccatModel.deserialize(InputStream) reads an attacker-controlled\nstream with java.io.ObjectInputStream and calls readObject() without an\nObjectInputFilter installed. ObjectInputStream materialises every class\nreferenced in the stream before the resulting object is cast to\nSvmDoccatModel, so the cast that follows readObject() executes only\nafter the foreign object graph has already been deserialised in full.\n\nIf a Java deserialization gadget chain is available on the consumer's\nclasspath, a crafted payload supplied to\ndeserialize() executes arbitrary code in the JVM that loads it. Apache\nOpenNLP itself does not ship a known gadget chain, so the realistic\nrisk is to downstream applications that embed the libsvm module\nalongside vulnerable transitive dependencies. The method is public and\nstatic, so any caller can pass an untrusted stream to it directly.\n\nThe practical impact is remote code execution against processes that\nload SvmDoccatModel instances from untrusted or semi-trusted origins.\n\nMitigation:\n\n3.x users should upgrade to 3.0.0-M4.\n\nUsers who cannot upgrade immediately should treat all serialized\nSvmDoccatModel streams as untrusted input unless their provenance is\nverified, and should avoid invoking SvmDoccatModel.deserialize() on\nstreams supplied by end users or fetched from third-party sources\nwithout integrity checks.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.13921,"percentile":0.96626,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://lists.apache.org/thread/c7kom0pgk9cbpfnbooh5m3g85ndf50hn","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/06/9","tags":[]}],"priority":{"score":24.4,"factors":[{"name":"EPSS percentile","points":19.33},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache OpenNLP :: Core :: ML :: LibSVM","versions":[">= 3.0.0-M1, < 3.0.0-M4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-06T19:11:49.058504Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is unsafe Java deserialization in the SvmDoccatModel class of Apache OpenNLP's LibSVM document categorization module (Apache OpenNLP :: Core :: ML :: LibSVM), present in versions before 3.0.0-M4 on the 3.x line. An attacker who can supply a crafted serialized stream to the public static SvmDoccatModel.deserialize() method, which reads it without an ObjectInputFilter, can achieve arbitrary code execution in the JVM only if a Java deserialization gadget chain is available on the consuming application's classpath, which OpenNLP itself does not ship.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:37:23Z"},"euvd":{"id":"EUVD-2026-41885","exploited":false,"provenance":"source"}}