CVE-2026-55153: CWE-502: Deserialization of Untrusted Data in swaldman mchange-commons-java
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.
AI Analysis
Technical Summary
The mchange-commons-java library (used by projects like c3p0 connection pool) prior to version 0.6.0 contains a deserialization vulnerability in its JNDI ObjectFactory implementation (com.mchange.v2.naming.JavaBeanObjectFactory). This implementation constructs objects of arbitrary classes and initializes JavaBean-style properties, which can be exploited to perform JNDI injection and leverage deserialization gadgets. For example, setting certain properties on Swing JEditorPane can cause HTTP GET requests to arbitrary URLs within trusted security domains. The ReferenceIndirector component exacerbates the issue by allowing malicious JNDI Reference objects to be smuggled and dereferenced when reading Java-serialized objects. This vulnerability is fixed in version 0.6.0.
Potential Impact
Successful exploitation can lead to remote code execution or unauthorized actions due to deserialization of untrusted data and JNDI injection. Confidentiality, integrity, and availability impacts are rated high as per the CVSS 3.1 score of 7.1. The vulnerability may allow attackers to provoke HTTP requests from trusted domains, potentially bypassing security controls.
Mitigation Recommendations
Upgrade to mchange-commons-java version 0.6.0 or later, where this vulnerability is resolved. No official patch or temporary fix is indicated other than upgrading. Until upgrade, avoid deserializing untrusted data with this library and restrict usage of the vulnerable JNDI ObjectFactory implementation.
CVE-2026-55153: CWE-502: Deserialization of Untrusted Data in swaldman mchange-commons-java
Description
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.
CVSS v3.1
Score 7.1high
Affected software
pkg:maven/com.mchange/mchange-commons-javaRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The mchange-commons-java library (used by projects like c3p0 connection pool) prior to version 0.6.0 contains a deserialization vulnerability in its JNDI ObjectFactory implementation (com.mchange.v2.naming.JavaBeanObjectFactory). This implementation constructs objects of arbitrary classes and initializes JavaBean-style properties, which can be exploited to perform JNDI injection and leverage deserialization gadgets. For example, setting certain properties on Swing JEditorPane can cause HTTP GET requests to arbitrary URLs within trusted security domains. The ReferenceIndirector component exacerbates the issue by allowing malicious JNDI Reference objects to be smuggled and dereferenced when reading Java-serialized objects. This vulnerability is fixed in version 0.6.0.
Potential Impact
Successful exploitation can lead to remote code execution or unauthorized actions due to deserialization of untrusted data and JNDI injection. Confidentiality, integrity, and availability impacts are rated high as per the CVSS 3.1 score of 7.1. The vulnerability may allow attackers to provoke HTTP requests from trusted domains, potentially bypassing security controls.
Mitigation Recommendations
Upgrade to mchange-commons-java version 0.6.0 or later, where this vulnerability is resolved. No official patch or temporary fix is indicated other than upgrading. Until upgrade, avoid deserializing untrusted data with this library and restrict usage of the vulnerable JNDI ObjectFactory implementation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-16T15:13:28.165Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a457a6627e9c7971919753e
Added to database: 07/01/2026, 20:36:54 UTC
Last enriched: 07/01/2026, 20:51:18 UTC
Last updated: 07/01/2026, 21:24:37 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.