Skip to main content

mchange-commons-java EUVDEUVD-2026-41135

| CVE-2026-55153 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-07-01 GitHub_M GHSA-h84g-69h7-mw6v
7.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach app endpoint that deserializes input
  2. Delivery
    Deliver crafted serialized object or JNDI Reference
  3. Exploit
    JavaBeanObjectFactory instantiates chosen gadget class
  4. Execution
    Setters populate JEditorPane text/contentType
  5. Persist
    Outbound HTTP GET or JNDI injection fires
  6. Impact
    SSRF from trusted domain or remote code loading

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target application to (1) include mchange-commons-java prior to 0.6.0 on its classpath (typically transitively via c3p0), and (2) deserialize attacker-influenced Java objects or resolve an attacker-controlled JNDI Reference through com.mchange.v2.naming.JavaBeanObjectFactory / ReferenceIndirector. It further requires a suitable side-effecting or gadget class on the classpath - the advisory's concrete example is javax.swing.JEditorPane (present in the JDK), where contentType=text/html plus a text property containing an HTML stylesheet <link> triggers the outbound HTTP GET. Limiting factors: the CVSS vector is PR:L (authenticated - some privilege level required per the vendor scoring) and AC:H, so it is not a spray-and-pray remote-unauth exploit; the application must actually feed untrusted data into the factory, and the achievable impact (SSRF vs. fuller JNDI injection/RCE) depends on which gadget classes exist in the deployment. AV:A in the vendor vector implies adjacent-network reach, though network-facing deserialization endpoints may effectively make it remotely reachable - confirm against your data flow.

Impact

The vendor CVSS 3.1 vector (CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.1) signals high complexity, a required privilege level, adjacent access, and full C/I/A impact. The AV:A (adjacent) choice is debatable for a deserialization/JNDI flaw: real-world exploitability hinges on whether an application deserializes attacker-controlled data or resolves an untrusted JNDI Reference, which in many web/service deployments is reachable over the network (AV:N) rather than only adjacent - verify against your actual data flow. AC:H is well justified because a suitable side-effecting/gadget class (e.g., JEditorPane) must be on the classpath and the app must feed untrusted input into the factory. No EPSS score, no SSVC decision, no KEV entry, and no published POC appear in the provided data, so signals point to a credible-but-not-yet-exploited library weakness. Practical priority is driven by this being a transitive dependency of widely used components (c3p0), so exposure is broad even though weaponization requires app-specific conditions; treat as a high-priority dependency upgrade, not an emergency zero-day.

Exploit ScenarioDerived

An attacker submits a crafted Java-serialized object (or a JNDI Reference smuggled through ReferenceIndirector) to an application endpoint that deserializes untrusted input while mchange-commons-java is on the classpath. The JavaBeanObjectFactory instantiates a chosen class such as JEditorPane and sets its contentType/text properties, forcing the victim server to issue an outbound HTTP GET from within its trusted network - or, with a different gadget class, achieves JNDI injection toward attacker-controlled code. No public POC is identified, and the CVSS AC:H reflects that the attacker needs a viable gadget class present and an app path that deserializes attacker data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 01, 2026

Insecure JNDI object instantiation in mchange-commons-java before 0.6.0 lets attackers who can influence deserialized data or JNDI Reference resolution coerce the library's JavaBeanObjectFactory into constructing arbitrary classes and setting their JavaBean properties, enabling JNDI injection and deserialization-gadget attacks. Because this library underpins mchange projects such as the c3p0 connection pool, any Java application that deserializes attacker-controlled objects or dereferences untrusted JNDI References through it is exposed; a demonstrated path abuses a Swing JEditorPane to force outbound HTTP requests from a trusted security domain. No public exploit identified at time of analysis and it is not in CISA KEV, so treat it as a patch-now supply-chain issue rather than an actively exploited one.

RemediationAI

Vendor-released patch: 0.6.0 - upgrade mchange-commons-java to 0.6.0 or later, including bumping transitive copies pulled in through c3p0 or other mchange projects (audit your dependency tree with 'mvn dependency:tree' or 'gradle dependencies' since it is frequently transitive). Follow the guidance in GHSA-h84g-69h7-mw6v (https://github.com/swaldman/mchange-commons-java/security/advisories/GHSA-h84g-69h7-mw6v). Where an immediate upgrade is not possible, reduce exposure by ensuring the application never deserializes untrusted Java objects and never resolves JNDI References from attacker-influenced sources; add a JVM serialization filter (java.io.ObjectInputFilter / jdk.serialFilter) to block com.mchange.v2.naming.* and javax.swing.* classes and reject unexpected Reference types, accepting that overly broad filters can break legitimate deserialization. Setting com.sun.jndi.ldap.object.trustURLCodebase and com.sun.jndi.rmi.object.trustURLCodebase to false limits remote-codebase JNDI loading but does not close the JavaBean-property side-effect (SSRF via JEditorPane) path, so it is only a partial mitigation until 0.6.0 is deployed.

Affected VersionsENISA

mchange-commons-java < 0.6.0

Affected Packages

maven com.mchange:mchange-commons-java fix: 0.6.0
euvd mchange_commons_java fix: 0.6.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is com.mchange.v2.naming.JavaBeanObjectFactory, a JNDI javax.naming.spi.ObjectFactory implementation that reconstructs objects from JNDI References by instantiating the referenced class and populating 'JavaBean'-style setter properties. This is a classic CWE-502 (Deserialization of Untrusted Data) root cause: the factory trusts the class name and property values carried in the Reference/serialized stream and performs unsafe reflective initialization. Certain JDK/library classes have side-effecting setters - the advisory cites javax.swing.JEditorPane, where setting contentType to text/html and text to HTML containing a stylesheet <link> triggers an outbound HTTP GET, effectively SSRF from inside the victim's trust boundary; other classes yield fuller JNDI injection (remote codebase/gadget loading). The library's ReferenceIndirector compounds this by allowing malicious JNDI Reference objects to be smuggled in anywhere the application reads a Java-serialized object, widening the entry points. Per CPE cpe:2.3:a:swaldman:mchange-commons-java, all versions prior to 0.6.0 are affected; the fixed release is 0.6.0.

Know when Java gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.1 HIGH
AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

Network-reachable when an app deserializes untrusted input (AV:N, PR:N), but requires a viable gadget class and an app path feeding attacker data (AC:H); full impact via JNDI injection.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.5 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Adjacent
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
Patch available
Jul 01, 2026 - 22:02 EUVD

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 84 maven packages depend on com.mchange:mchange-commons-java (2 direct, 82 indirect)

Ecosystem-wide dependent count for version 0.6.0.

Executive ViewAI

Why It Matters

mchange-commons-java, a critical library underpinning database connection management in Java applications, exposes organizations to remote code execution through JNDI injection attacks in deserialized objects. Organizations deploying this library-particularly those using c3p0 connection pools-face supply-chain risk with no vendor security patch currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Deploy Java deserialization filters (JEP 290 / serialization filter API) to block untrusted classes; (2) Disable or restrict JNDI name lookup resolution in connection pool configurations; (3) Implement network segmentation to restrict outbound LDAP and HTTP access from application servers; (4) Apply Java SecurityManager policies limiting Class.forName() and object instantiation; (5) Enable audit logging and alerting on serialization exceptions and failed JNDI resolution attempts as exploitation indicators.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Medium
shared Java library, common transitively via c3p0 connection pool
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy