Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach app endpoint that deserializes input
-
DeliveryDeliver crafted serialized object or JNDI Reference
-
ExploitJavaBeanObjectFactory instantiates chosen gadget class
-
ExecutionSetters populate JEditorPane text/contentType
-
PersistOutbound HTTP GET or JNDI injection fires
-
ImpactSSRF from trusted domain or remote code loading
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target application to (1) include mchange-commons-java prior to 0.6.0 on its classpath (typically transitively via c3p0), and (2) deserialize attacker-influenced Java objects or resolve an attacker-controlled JNDI Reference through com.mchange.v2.naming.JavaBeanObjectFactory / ReferenceIndirector. It further requires a suitable side-effecting or gadget class on the classpath - the advisory's concrete example is javax.swing.JEditorPane (present in the JDK), where contentType=text/html plus a text property containing an HTML stylesheet <link> triggers the outbound HTTP GET. Limiting factors: the CVSS vector is PR:L (authenticated - some privilege level required per the vendor scoring) and AC:H, so it is not a spray-and-pray remote-unauth exploit; the application must actually feed untrusted data into the factory, and the achievable impact (SSRF vs. fuller JNDI injection/RCE) depends on which gadget classes exist in the deployment. AV:A in the vendor vector implies adjacent-network reach, though network-facing deserialization endpoints may effectively make it remotely reachable - confirm against your data flow. |
| Impact | The vendor CVSS 3.1 vector (CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.1) signals high complexity, a required privilege level, adjacent access, and full C/I/A impact. The AV:A (adjacent) choice is debatable for a deserialization/JNDI flaw: real-world exploitability hinges on whether an application deserializes attacker-controlled data or resolves an untrusted JNDI Reference, which in many web/service deployments is reachable over the network (AV:N) rather than only adjacent - verify against your actual data flow. AC:H is well justified because a suitable side-effecting/gadget class (e.g., JEditorPane) must be on the classpath and the app must feed untrusted input into the factory. No EPSS score, no SSVC decision, no KEV entry, and no published POC appear in the provided data, so signals point to a credible-but-not-yet-exploited library weakness. Practical priority is driven by this being a transitive dependency of widely used components (c3p0), so exposure is broad even though weaponization requires app-specific conditions; treat as a high-priority dependency upgrade, not an emergency zero-day. |
| Exploit ScenarioDerived | An attacker submits a crafted Java-serialized object (or a JNDI Reference smuggled through ReferenceIndirector) to an application endpoint that deserializes untrusted input while mchange-commons-java is on the classpath. The JavaBeanObjectFactory instantiates a chosen class such as JEditorPane and sets its contentType/text properties, forcing the victim server to issue an outbound HTTP GET from within its trusted network - or, with a different gadget class, achieves JNDI injection toward attacker-controlled code. No public POC is identified, and the CVSS AC:H reflects that the attacker needs a viable gadget class present and an app path that deserializes attacker data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 01, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Java gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
1DescriptionCVE.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.
Blast Radius
ecosystem impact- 84 maven packages depend on com.mchange:mchange-commons-java (2 direct, 82 indirect)
Ecosystem-wide dependent count for version 0.6.0.
Articles & Coverage 1
Executive ViewAI
mchange-commons-java, a critical library underpinning database connection management in Java applications, exposes organizations to remote code execution through JNDI injection attacks in deserialized objects. Organizations deploying this library-particularly those using c3p0 connection pools-face supply-chain risk with no vendor security patch currently available.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Deploy Java deserialization filters (JEP 290 / serialization filter API) to block untrusted classes; (2) Disable or restrict JNDI name lookup resolution in connection pool configurations; (3) Implement network segmentation to restrict outbound LDAP and HTTP access from application servers; (4) Apply Java SecurityManager policies limiting Class.forName() and object instantiation; (5) Enable audit logging and alerting on serialization exceptions and failed JNDI resolution attempts as exploitation indicators.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
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
EUVD-2026-41135
GHSA-h84g-69h7-mw6v
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB