Vulnerability
CVE-2026-27727
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.
23 advisories report this vulnerability, across 6 ecosystems.
Advisories
- CGA-2mf2-c622-gr3h
- CGA-7649-c7vm-mw6h
- CGA-768j-669j-2m75
- CGA-9q44-3r3g-xqxr
- CGA-gwr2-rvjh-fv2h
- CGA-hp6h-7ghg-9fgp
- CGA-j7vc-c896-rw58
- CGA-jq9f-734c-whjh
- CGA-mccq-v4rg-8xh3
-
GHSA-m2cm-222f-qw44
mchange-commons-java: Remote Code Execution via JNDI Reference Resolution
-
OESA-2026-1690
mchange-commons security update
-
RHSA-2026:14873
Red Hat Security Advisory: Satellite 6.17.8 Async Update
-
RHSA-2026:14874
Red Hat Security Advisory: Satellite 6.16.8 Async Update
-
RHSA-2026:18054
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.1.6 security update
-
RHSA-2026:18055
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.1.6 security update
-
RHSA-2026:34365
Red Hat Security Advisory: Satellite 6.19.2 Async Update
-
RHSA-2026:73644
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.19 Update
-
RHSA-2026:73976
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.1.16 security update
-
SUSE-SU-2026:0855-1
Security update for c3p0 and mchange-commons
-
UBUNTU-CVE-2026-27727
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…
-
USN-8642-1
c3p0 vulnerabilities
-
openSUSE-SU-2026:10279-1
c3p0-0.12.0-1.1 on GA media
-
openSUSE-SU-2026:10281-1
mchange-commons-0.4.0-1.1 on GA media
References
- https://github.com/swaldman/mchange-commons-java/security/advisories/GHSA-m2cm-222f-qw44
- https://mogwailabs.de/en/blog/2025/02/c3p0-you-little-rascal
- https://www.mchange.com/projects/c3p0/#configuring_security
- https://www.mchange.com/projects/c3p0/#security-note
- https://access.redhat.com/errata/RHSA-2026:14873
- https://access.redhat.com/errata/RHSA-2026:14874
- https://access.redhat.com/errata/RHSA-2026:18054
- https://access.redhat.com/errata/RHSA-2026:18055
- https://access.redhat.com/errata/RHSA-2026:18059
- https://access.redhat.com/errata/RHSA-2026:34365
- https://access.redhat.com/errata/RHSA-2026:3890
- https://access.redhat.com/errata/RHSA-2026:4285
- https://access.redhat.com/security/cve/CVE-2026-27727
- https://bugzilla.redhat.com/show_bug.cgi?id=2442671
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27727.json