Description
mchange-commons-java, a library that provides Java utilities, includes code that mirrors early implementations of JNDI functionality, including support for remote `factoryClassLocation` values, by which code can be downloaded and invoked within a running application. If an attacker can provoke an application to read a maliciously crafted `jaxax.naming.Reference` or serialized object, they can provoke the download and execution of malicious code. Implementations of this functionality within the JDK were disabled by default behind a System property that defaults to `false`, `com.sun.jndi.ldap.object.trustURLCodebase`. However, since mchange-commons-java includes an independent implementation of JNDI derefencing, libraries (such as c3p0) that resolve references via that implementation could be provoked to download and execute malicious code even after the JDK was hardened. Mirroring the JDK patch, mchange-commons-java's JNDI functionality is gated by configuration parameters that default to restrictive values starting in version 0.4.0. No known workarounds are available. Versions prior to 0.4.0 should be avoided on application CLASSPATHs.
Affected products
mchange: mchange commons java
References10
- github.com/swaldman/mchange-commons-java/security/advisories/GH… PatchVendor Advisory
- mogwailabs.de/en/blog/2025/02/c3p0-you-little-rascal ExploitThird Party Advisory
- www.mchange.com/projects/c3p0/#configuring_security Issue Tracking
- www.mchange.com/projects/c3p0/#security-note Release Notes
- access.redhat.com/errata/RHSA-2026:14873
- access.redhat.com/errata/RHSA-2026:14874
- access.redhat.com/errata/RHSA-2026:18054
- access.redhat.com/errata/RHSA-2026:18055
- access.redhat.com/errata/RHSA-2026:18059
- access.redhat.com/errata/RHSA-2026:34365
Metrics
- CVSS 3.1
-
9.8
CRITICAL
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 4.0
-
8.9
HIGH
Score source: CNA
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 1% percentile: 63 · as of 12 November 2026
- CWE
- CWE-74CWE-502
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.