CVE Wiki Pixee · CVE intelligence
← All CVEs

CVE-2026-27727

Critical · CVSS 9.8

mchange-commons-java — JNDI deserialization RCE via remote factoryClassLocation

CVSS
9.8
nvd
EPSS
0.81%
53th pct
KEV
No
Class
oss containerizable
CWE-74, CWE-502

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.

Search profile — drives PoC discovery

Symbols factoryClassLocationjavax.naming.Referencecom.sun.jndi.ldap.object.trustURLCodebasemchange-commons-javac3p0JNDI dereferencingcom.mchange.v2.naming
Keywords CVE-2026-27727mchange-commons-java JNDI RCEc3p0 JNDI exploitfactoryClassLocation RCEGHSA-m2cm-222f-qw44c3p0 deserializationmchange JNDI codebasec3p0 remote classloadingmchange-commons-java PoC
Versions: < 0.4.0

Affected packages

Maven com.mchange:mchange-commons-java 0 → 0.4.0

References

Status: enriched · ingested 2026-06-30T06:00:22.000Z · profiled 2026-07-01T00:30:14.000Z