CVEfocus › CVE database › CVE-2026-27727

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

CVSS 8.9 HighEPSS 2.1% (higher than 83% of CVEs)Published 2026-02-25Updated 2026-09-15Assigner: GitHub_M

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.

CWE-502CWE-74

What to do

Fixed builds are available from Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
7Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10c3p0Fix pendingUBUNTU-CVE-2026-27727
Ubuntu 26.04c3p0Fix pending0.9.1.2-11ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-27727
Ubuntu 25.10c3p0Will not fix
mchange-commons-java seem to be included in a few version of c3p0.
UBUNTU-CVE-2026-27727
Ubuntu 24.04c3p0Fix pending0.9.1.2-10ubuntu2+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-27727
Ubuntu 22.04c3p0Fix pending0.9.1.2-10ubuntu1+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-27727
Ubuntu 20.04c3p0Fix pending0.9.1.2-10ubuntu0.20.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-27727
Ubuntu 18.04c3p0Fix pending0.9.1.2-9+deb8u1ubuntu0.18.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-27727
Ubuntu 16.04c3p0Fix pending0.9.1.2-9+deb8u1ubuntu0.16.04.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2026-27727
Maven librarycom.mchange:mchange-commons-javaFixed0.4.0GHSA-m2cm-222f-qw44

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.