Vulnerability · Published Feb 25, 2026 · Assigned by GitHub_M

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

High 8.3

In plain English

A high-severity injection in mchange-commons-java from swaldman. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.3High
Exploit odds (30 days)1.0%top 37.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
Mavencom.mchange:mchange-commons-java0.4.0GHSA-m2cm-222f-qw44
Ubuntu:25.10c3p0no fix listedUBUNTU-CVE-2026-27727
Ubuntu:26.10c3p0no fix listedUBUNTU-CVE-2026-27727

Affected products (as reported)

VendorProductVersions
swaldman mchange-commons-java < 0.4.0

Weakness: CWE-74, CWE-502 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

References