Severity by source
AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable when an app deserializes untrusted input (AV:N, PR:N), but requires a viable gadget class and an app path feeding attacker data (AC:H); full impact via JNDI injection.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2Blast Radius
ecosystem impact- 31 maven packages depend on com.mchange:mchange-commons-java (1 direct, 30 indirect)
Ecosystem-wide dependent count for version 0.6.0.
DescriptionCVE.org
mchange-commons-java is a Java library of shared utility classes used by mchange projects like the c3p0 connection pool. Prior to version 0.6.0, its JNDI ObjectFactory implementation (com.mchange.v2.naming.JavaBeanObjectFactory) will construct objects of arbitrary classes and initialize "JavaBean"-style properties, which for certain classes enables JNDI injection and "deserialization gadgets." Such initialization is unsafe for some classes: for example, setting the contentType property of a Swing JEditorPane to text/html and its text property to HTML containing a stylesheet <link> will provoke an HTTP GET on an arbitrary URL, potentially from within a trusted security domain. The problem is aggravated by the library's ReferenceIndirector, through which malicious JNDI Reference objects can be smuggled in for dereferencing wherever an application reads a Java-serialized object. This has been resolved in version 0.6.0.
Articles & Coverage 1
AnalysisAI
Insecure JNDI object instantiation in mchange-commons-java before 0.6.0 lets attackers who can influence deserialized data or JNDI Reference resolution coerce the library's JavaBeanObjectFactory into constructing arbitrary classes and setting their JavaBean properties, enabling JNDI injection and deserialization-gadget attacks. Because this library underpins mchange projects such as the c3p0 connection pool, any Java application that deserializes attacker-controlled objects or dereferences untrusted JNDI References through it is exposed; a demonstrated path abuses a Swing JEditorPane to force outbound HTTP requests from a trusted security domain. No public exploit identified at time of analysis and it is not in CISA KEV, so treat it as a patch-now supply-chain issue rather than an actively exploited one.
Technical ContextAI
The affected component is com.mchange.v2.naming.JavaBeanObjectFactory, a JNDI javax.naming.spi.ObjectFactory implementation that reconstructs objects from JNDI References by instantiating the referenced class and populating 'JavaBean'-style setter properties. This is a classic CWE-502 (Deserialization of Untrusted Data) root cause: the factory trusts the class name and property values carried in the Reference/serialized stream and performs unsafe reflective initialization. Certain JDK/library classes have side-effecting setters - the advisory cites javax.swing.JEditorPane, where setting contentType to text/html and text to HTML containing a stylesheet <link> triggers an outbound HTTP GET, effectively SSRF from inside the victim's trust boundary; other classes yield fuller JNDI injection (remote codebase/gadget loading). The library's ReferenceIndirector compounds this by allowing malicious JNDI Reference objects to be smuggled in anywhere the application reads a Java-serialized object, widening the entry points. Per CPE cpe:2.3:a:swaldman:mchange-commons-java, all versions prior to 0.6.0 are affected; the fixed release is 0.6.0.
RemediationAI
Vendor-released patch: 0.6.0 - upgrade mchange-commons-java to 0.6.0 or later, including bumping transitive copies pulled in through c3p0 or other mchange projects (audit your dependency tree with 'mvn dependency:tree' or 'gradle dependencies' since it is frequently transitive). Follow the guidance in GHSA-h84g-69h7-mw6v (https://github.com/swaldman/mchange-commons-java/security/advisories/GHSA-h84g-69h7-mw6v). Where an immediate upgrade is not possible, reduce exposure by ensuring the application never deserializes untrusted Java objects and never resolves JNDI References from attacker-influenced sources; add a JVM serialization filter (java.io.ObjectInputFilter / jdk.serialFilter) to block com.mchange.v2.naming.* and javax.swing.* classes and reject unexpected Reference types, accepting that overly broad filters can break legitimate deserialization. Setting com.sun.jndi.ldap.object.trustURLCodebase and com.sun.jndi.rmi.object.trustURLCodebase to false limits remote-codebase JNDI loading but does not close the JavaBean-property side-effect (SSRF via JEditorPane) path, so it is only a partial mitigation until 0.6.0 is deployed.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same weakness CWE-502 – Deserialization of Untrusted Data
View allSame technique Deserialization
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41135
GHSA-h84g-69h7-mw6v