CVE-2026-27727
com.mchange/mchange-commons-java: mchange-commons-java: Arbitrary code execution via JNDI dereferencing of crafted objects
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high), Red Hat (high), Ubuntu (medium).
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| chainguard | debezium-3.3, debezium-3.4, hono and 2 more | 3.3.2-r2 and 4 more |
| echo maven::Echo OSV | com.mchange:mchange-commons-java | 0.4.0 |
| maven::GitHub Security Advisory Maven | com.mchange:mchange-commons-java | 0.4.0 |
| Red Hat | candlepin, candlepin-selinux, satellite:el8::candlepin and 1 more | no fix listed |
| ubuntu 18.04-ESM | c3p0 | 0.9.1.2-9+deb8u1ubuntu0.18.04.1+esm1 |
| ubuntu 20.04-ESM | c3p0 | 0.9.1.2-10ubuntu0.20.04.1+esm1 |
| ubuntu 22.04 | c3p0 | no fix listed |
| ubuntu 24.04 | c3p0 | no fix listed |
| ubuntu 26.04 | c3p0 | no fix listed |
| ubuntu 26.10 | c3p0 | no fix listed |
| wolfi | debezium-3.4 | 3.4.2-r0 |
Show all 18 entries from 11 sources
| Source | Package | Fixed in |
|---|---|---|
| chainguard | debezium-3.3 | 3.3.2-r2 |
| chainguard | debezium-3.4 | 3.4.2-r0 |
| chainguard | hono | 2.7.0-r1 |
| chainguard | solr-9 | 9.10.1-r14 |
| chainguard | solr-fips-9 | 9.10.1-r3 |
| echo maven::Echo OSV | com.mchange:mchange-commons-java | 0.4.0 |
| maven::GitHub Security Advisory Maven | com.mchange:mchange-commons-java | 0.4.0 |
| Red Hat | candlepin | no fix listed |
| Red Hat | candlepin-selinux | no fix listed |
| Red Hat | satellite:el8::candlepin | no fix listed |
| Red Hat | satellite:el8::candlepin-selinux | no fix listed |
| ubuntu 18.04-ESM | c3p0 | 0.9.1.2-9+deb8u1ubuntu0.18.04.1+esm1 |
| ubuntu 20.04-ESM | c3p0 | 0.9.1.2-10ubuntu0.20.04.1+esm1 |
| ubuntu 22.04 | c3p0 | no fix listed |
| ubuntu 24.04 | c3p0 | no fix listed |
| ubuntu 26.04 | c3p0 | no fix listed |
| ubuntu 26.10 | c3p0 | no fix listed |
| wolfi | debezium-3.4 | 3.4.2-r0 |
References
- 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
All 21 references
- https://access.redhat.com/security/cve/CVE-2026-27727
- https://advisory.echohq.com/cve/CVE-2026-27727
- https://bugzilla.redhat.com/show_bug.cgi?id=2442671
- https://github.com/advisories/GHSA-m2cm-222f-qw44
- https://github.com/swaldman/mchange-commons-java
- 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://nvd.nist.gov/vuln/detail/CVE-2026-27727
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27727.json
- https://ubuntu.com/security/notices/USN-8642-1
- https://www.cve.org/CVERecord?id=CVE-2026-27727
- https://www.mchange.com/projects/c3p0/#configuring_security
- https://www.mchange.com/projects/c3p0/#security-note