CVE-2026-27727: high-severity vulnerability in swaldman mchange-commons-java
mchange-commons-java: Remote Code Execution via JNDI Reference Resolution
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.9epss 1.0%
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.
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
Affected products
swaldman · mchange-commons-javaRelated CVEs — swaldman mchange-commons-java
In the same product, most dangerous first.
References
https://access.redhat.com/errata/RHSA-2026:14873https://access.redhat.com/errata/RHSA-2026:14874https://access.redhat.com/errata/RHSA-2026:18054https://access.redhat.com/errata/RHSA-2026:18055https://access.redhat.com/errata/RHSA-2026:18059https://access.redhat.com/errata/RHSA-2026:34365https://access.redhat.com/errata/RHSA-2026:3890https://access.redhat.com/errata/RHSA-2026:4285https://access.redhat.com/security/cve/CVE-2026-27727https://bugzilla.redhat.com/show_bug.cgi?id=2442671https://github.com/swaldman/mchange-commons-java/security/advisories/GHSA-m2cm-222f-qw44https://mogwailabs.de/en/blog/2025/02/c3p0-you-little-rascal