Bug 2442671 (CVE-2026-27727) - CVE-2026-27727 com.mchange/mchange-commons-java: mchange-commons-java: Arbitrary code execution via JNDI dereferencing of crafted objects
Summary: CVE-2026-27727 com.mchange/mchange-commons-java: mchange-commons-java: Arbitr...
Keywords:
Status: NEW
Alias: CVE-2026-27727
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-25 17:04 UTC by OSIDB Bzimport
Modified: 2026-03-05 13:32 UTC (History)
55 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:3890 0 None None None 2026-03-05 13:32:50 UTC

Description OSIDB Bzimport 2026-02-25 17:04:54 UTC
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.

Comment 2 errata-xmlrpc 2026-03-05 13:32:46 UTC
This issue has been addressed in the following products:

  Red Hat build of Apache Camel 4.14.4 for Spring Boot 3.5.11

Via RHSA-2026:3890 https://access.redhat.com/errata/RHSA-2026:3890


Note You need to log in before you can comment on or make changes to this bug.