Deserialization of Untrusted Data in c3p0 - CVE-2026-27830

 

Deserialization of Untrusted Data in c3p0 - CVE-2026-27830

Published: April 22, 2026 / Updated: April 27, 2026


Vulnerability identifier: #VU126753
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-27830
CWE-ID: CWE-502
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: mchange.com
Affected software:
c3p0

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to unsafe deserialization in the userOverridesAsString property of c3p0 ConnectionPoolDataSource implementations when processing maliciously crafted Java-serialized objects or javax.naming.Reference instances. A remote user can reset this property or supply crafted serialized objects or references to execute arbitrary code.

The impact can be amplified when embedded JNDI references trigger dereferencing of a remote factoryClassLocation.


How to mitigate CVE-2026-27830

Install updates from vendor's website.

Sources