Skip to content
OpenAdvisories
High · 8.9 CVE-2026-27727 EUVD-2026-8683GHSA-m2cm-222f-qw44

mchange-commons-java: Remote Code Execution via JNDI Reference Resolution

Published Feb 25, 2026 · Updated Sep 15, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
swaldman mchange-commons-java < 0.4.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 c3p0 No fix yet —
Ubuntu 25.10 c3p0 No fix yet —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS c3p0 0.9.1.2-11ubuntu0.1~esm1 USN-8642-1
Ubuntu Pro 24.04 LTS c3p0 0.9.1.2-10ubuntu2+esm1 USN-8642-1
Ubuntu Pro 22.04 LTS c3p0 0.9.1.2-10ubuntu1+esm1 USN-8642-1
Ubuntu Pro 20.04 LTS c3p0 0.9.1.2-10ubuntu0.20.04.1+esm1 USN-8642-1
Ubuntu Pro 18.04 LTS c3p0 0.9.1.2-9+deb8u1ubuntu0.18.04.1+esm1 USN-8642-1
Ubuntu Pro 16.04 LTS c3p0 0.9.1.2-9+deb8u1ubuntu0.16.04.1~esm2 —
ReleasePackageFixed inAdvisory
Red Hat Satellite Utils 6 foreman +1 3.18.0.7-1.el9sat RHSA-2026:34365
Red Hat Satellite Capsule 6 foreman +2 3.18.0.7-1.el9sat RHSA-2026:34365
Red Hat Satellite Capsule 6 python-markdown +1 3.8.2-1.el8pc RHSA-2026:14874, RHSA-2026:14873
Red Hat Satellite Capsule 6 python-pillow +1 12.1.1-1.el8pc RHSA-2026:14874, RHSA-2026:14873
Red Hat Satellite Capsule 6 python-pyOpenSSL +1 24.1.0-2.el8pc RHSA-2026:14874, RHSA-2026:14873
Red Hat Satellite Capsule 6 python3.12-pillow 12.2.0-1.el9pc RHSA-2026:34365
Red Hat Satellite Capsule 6 python3.12-pyjwt +1 2.13.0-1.el9pc RHSA-2026:34365
Red Hat Satellite Capsule 6 rubygem-activesupport 6.1.7.8-2.el8sat RHSA-2026:14874, RHSA-2026:14873
Red Hat Satellite 6 candlepin +1 4.4.25-1.el8sat RHSA-2026:34365, RHSA-2026:14874, RHSA-2026:14873
Red Hat Satellite 6 foreman +13 3.18.0.7-1.el9sat RHSA-2026:34365
Red Hat Satellite 6 python-markdown +1 3.8.2-1.el8pc RHSA-2026:14874, RHSA-2026:14873
Red Hat Satellite 6 python-pillow +1 12.1.1-1.el8pc RHSA-2026:14874, RHSA-2026:14873
Red Hat Satellite 6 python-pyOpenSSL +1 24.1.0-2.el8pc RHSA-2026:14874, RHSA-2026:14873
Red Hat Satellite 6 python3.12-pillow 12.2.0-1.el9pc RHSA-2026:34365
Red Hat Satellite 6 python3.12-pyjwt +1 2.13.0-1.el9pc RHSA-2026:34365
Red Hat Satellite 6 rubygem-activesupport 6.1.7.8-2.el8sat RHSA-2026:14874, RHSA-2026:14873
Red Hat Satellite 6 yggdrasil-worker-forwarder 0.0.3-5.el9sat RHSA-2026:34365
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-hibernate +5 5.1.17-5.Final_redhat_00006.1.ep7.el7 RHSA-2026:73976, RHSA-2026:73644
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-jboss-server-migration +21 1.7.2-24.Final_redhat_00026.1.el7eap RHSA-2026:73644
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-netty +1 4.1.63-4.Final_redhat_00005.1.ep7.el7 RHSA-2026:73976, RHSA-2026:73644
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-wildfly +1 7.1.16-1.GA_redhat_00002.1.ep7.el7 RHSA-2026:73976, RHSA-2026:73644
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-wildfly-javadocs +2 7.3.19-1.GA_redhat_00004.1.el7eap RHSA-2026:73644
Red Hat JBoss EAP 8 eap8-activemq-artemis +14 2.40.0-6.redhat_00012.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-angus +1 2.0.5-1.redhat_00001.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-angus-activation 2.0.3-1.redhat_00001.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-bouncycastle +5 1.84.0-1.redhat_00001.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-eap-product-conf-parent +1 801.6.0-1.GA_redhat_00001.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-guava +1 33.0.0-3.jre_redhat_00004.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-guava-failureaccess 1.0.3-1.redhat_00001.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-hal-console 3.7.19-1.Final_redhat_00001.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-hibernate +2 6.6.48-1.Final_redhat_00001.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-hibernate-search +6 7.2.6-1.Final_redhat_00001.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-jakarta-activation 2.1.4-1.redhat_00001.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-jboss-logging 3.6.2-1.Final_redhat_00001.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-jboss-metadata +5 16.1.0-1.Final_redhat_00001.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-jctools +1 4.0.6-1.redhat_00001.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-netty +14 4.1.132-1.Final_redhat_00001.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-plexus-utils 3.6.1-1.redhat_00001.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-reactivex-rxjava 3.1.12-1.redhat_00001.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-reactivex-rxjava2 2.2.21-5.redhat_00003.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-wildfly +3 8.1.6-5.GA_redhat_00007.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-wildfly-client-config 1.0.1-4.Final_redhat_00002.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-wildfly-http-client +4 2.1.4-1.Final_redhat_00001.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-wildfly-javadocs 8.1.1-10.GA_redhat_00017.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-wildfly-openssl +1 2.3.0-1.Final_redhat_00001.1.el8eap RHSA-2026:18055, RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-wildfly-openssl-el8-x86_64 2.3.0-1.Final.redhat.00001.1.el8eap RHSA-2026:18054
Red Hat JBoss EAP 8 eap8-wildfly-openssl-el9-x86_64 2.3.0-1.Final_redhat_00001.1.el9eap RHSA-2026:18055
Red Hat JBoss EAP 8 eap8-yasson 3.0.4-5.redhat_00007.1.el8eap RHSA-2026:18055, RHSA-2026:18054
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed c3p0 0.12.0-1.1 openSUSE-SU-2026:10279-1
openSUSE Tumbleweed mchange-commons 0.4.0-1.1 openSUSE-SU-2026:10281-1
openSUSE Leap 15.6 c3p0 0.9.5.5-150400.3.5.1 SUSE-SU-2026:0855-1
openSUSE Leap 15.6 mchange-commons 0.2.20-150400.3.3.1 SUSE-SU-2026:0855-1

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.mchange:mchange-commons-java < 0.4.0 0.4.0 GHSA-m2cm-222f-qw44

Advisories 13

References