Skip to content
OpenAdvisories
High · 7.1 CVE-2026-55153 EUVD-2026-41135GHSA-h84g-69h7-mw6v

mchange-commons-java contains elements susceptible to abuse via JNDI injection and "deserialization gadgets"

Published Jul 1, 2026 · Updated Jul 6, 2026 · Assigned by GitHub_M

Description

mchange-commons-java is a Java library of shared utility classes used by mchange projects like the c3p0 connection pool. Prior to version 0.6.0, its JNDI ObjectFactory implementation (com.mchange.v2.naming.JavaBeanObjectFactory) will construct objects of arbitrary classes and initialize "JavaBean"-style properties, which for certain classes enables JNDI injection and "deserialization gadgets." Such initialization is unsafe for some classes: for example, setting the contentType property of a Swing JEditorPane to text/html and its text property to HTML containing a stylesheet <link> will provoke an HTTP GET on an arbitrary URL, potentially from within a trusted security domain. The problem is aggravated by the library's ReferenceIndirector, through which malicious JNDI Reference objects can be smuggled in for dereferencing wherever an application reads a Java-serialized object. This has been resolved in version 0.6.0.

Affected products

VendorProductAffectedFixed
swaldman mchange-commons-java < 0.6.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 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling debezium-3.5-connector-jdbc 3.5.2-r4 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.mchange:mchange-commons-java < 0.6.0 0.6.0 GHSA-h84g-69h7-mw6v

Advisories 4

References