PT-2026-21943 · Unknown+1 · Mchange-Commons-Java+1
Dpp
·
Published
2026-02-25
·
Updated
2026-05-01
·
CVE-2026-27727
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
mchange-commons-java versions prior to 0.4.0
Description
mchange-commons-java, a library providing Java utilities, contains code that replicates early JNDI implementations, including support for remote
factoryClassLocation values. This allows for the potential download and execution of malicious code if an application processes a specially crafted jaxax.naming.Reference or serialized object. While the JDK has default protections against this behavior via the com.sun.jndi.ldap.object.trustURLCodebase System property, mchange-commons-java's independent JNDI implementation bypasses these protections. This means that libraries like c3p0, which use mchange-commons-java for JNDI resolution, could be exploited even with a hardened JDK. The library's JNDI functionality is now protected by configuration parameters that default to restrictive values, starting with version 0.4.0. The API endpoint is not explicitly mentioned. The vulnerable parameter is factoryClassLocation.Recommendations
Upgrade to mchange-commons-java version 0.4.0 or later.
Avoid using versions of mchange-commons-java prior to 0.4.0 on application CLASSPATHs.
Exploit
Fix
RCE
Special Elements Injection
Deserialization of Untrusted Data
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
C3P0
Mchange-Commons-Java