CVE-2026-27727
CVE-2026-27727 · mchange-commons-java: Remote Code Execution via JNDI Reference Resolution
CVSS 8.9 · High · EPSS 2.1% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- mchange-commons-javaNo fix published
- c3p0 Ubuntu Pro 16.04 LTSUpdate to 0.9.1.2-9+deb8u1ubuntu0.16.04.1~esm2
- c3p0 Ubuntu Pro 18.04 LTSUpdate to 0.9.1.2-9+deb8u1ubuntu0.18.04.1+esm1
- c3p0 Ubuntu Pro 20.04 LTSUpdate to 0.9.1.2-10ubuntu0.20.04.1+esm1
- and 5 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="c3p0"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- RHSA-2026:73976 · Red Hat jboss enterprise application platform eus 7.1 el7 ·
- RHSA-2026:73644 · Red Hat jboss enterprise application platform eus 7.3 el7 ·
- USN-8642-1 · Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS, Ubuntu Pro 22.04 LTS, Ubuntu Pro 24.04 LTS, Ubuntu Pro 26.04 LTS ·
- RHSA-2026:34365 · Red Hat satellite 6.19 el9, Red Hat satellite capsule 6.19 el9, Red Hat satellite utils 6.19 el9 ·
- RHSA-2026:18054 · Red Hat jboss enterprise application platform 8.1 el8 ·
- RHSA-2026:18055 · Red Hat jboss enterprise application platform 8.1 el9 ·
- RHSA-2026:14874 · Red Hat satellite 6.16 el8, Red Hat satellite 6.16 el9, Red Hat satellite capsule 6.16 el8, Red Hat satellite capsule 6.16 el9 ·
- RHSA-2026:14873 · Red Hat satellite 6.17 el9, Red Hat satellite capsule 6.17 el9 ·
- SUSE-SU-2026:0855-1 · openSUSE Leap 15.6 ·
- openSUSE-SU-2026:10279-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2026:10281-1 · openSUSE Tumbleweed ·
Stack: system
Affected products and versions
mchange-commons-java
- Versions
- < 0.4.0: Affected
No fix published
c3p0 Ubuntu Pro 16.04 LTS
- Versions
- 0.9.1.2-9
- 0.9.1.2-9+deb8u1build0.16.04.1
- 0.9.1.2-9+deb8u1ubuntu0.16.04.1~esm1
- Affected ranges
- ECOSYSTEM: < 0.9.1.2-9+deb8u1ubuntu0.16.04.1~esm2
Update to 0.9.1.2-9+deb8u1ubuntu0.16.04.1~esm2
c3p0 Ubuntu Pro 18.04 LTS
- Versions
- 0.9.1.2-9
- 0.9.1.2-9+deb8u1build0.18.04.1
- 0.9.1.2-9+deb8u1ubuntu0.18.04.1
- Affected ranges
- ECOSYSTEM: < 0.9.1.2-9+deb8u1ubuntu0.18.04.1+esm1
Update to 0.9.1.2-9+deb8u1ubuntu0.18.04.1+esm1
c3p0 Ubuntu Pro 20.04 LTS
- Versions
- 0.9.1.2-10
- 0.9.1.2-10ubuntu0.20.04.1
- Affected ranges
- ECOSYSTEM: < 0.9.1.2-10ubuntu0.20.04.1+esm1
Update to 0.9.1.2-10ubuntu0.20.04.1+esm1
c3p0 Ubuntu Pro 22.04 LTS
- Versions
- 0.9.1.2-10
- 0.9.1.2-10ubuntu1
- Affected ranges
- ECOSYSTEM: < 0.9.1.2-10ubuntu1+esm1
Update to 0.9.1.2-10ubuntu1+esm1
c3p0 Ubuntu Pro 24.04 LTS
- Versions
- 0.9.1.2-10ubuntu1
- 0.9.1.2-10ubuntu2
- Affected ranges
- ECOSYSTEM: < 0.9.1.2-10ubuntu2+esm1
Update to 0.9.1.2-10ubuntu2+esm1
c3p0 Ubuntu 25.10
- Versions
- 0.9.1.2-10ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
c3p0 Ubuntu 26.10
- Versions
- 0.9.1.2-11
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
c3p0 Ubuntu Pro 26.04 LTS
- Versions
- 0.9.1.2-10ubuntu2
- 0.9.1.2-11
- Affected ranges
- ECOSYSTEM: < 0.9.1.2-11ubuntu0.1~esm1
Update to 0.9.1.2-11ubuntu0.1~esm1
Original sources
- 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/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
- https://access.redhat.com/errata/RHSA-2026:18054
- https://access.redhat.com/errata/RHSA-2026:14874
- https://access.redhat.com/errata/RHSA-2026:18055
- https://access.redhat.com/errata/RHSA-2026:14873
- https://access.redhat.com/errata/RHSA-2026:34365
- https://access.redhat.com/errata/RHSA-2026:4285
- https://access.redhat.com/errata/RHSA-2026:18059
- https://access.redhat.com/errata/RHSA-2026:3890
- https://nvd.nist.gov/vuln/detail/CVE-2026-27727