CVE-2026-27830 c3p0 vulnerable to Remote Code Execution via unsafe deserialization of userOverridesAsString property
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
Description
c3p0, a JDBC Connection pooling library, is vulnerable to attack via maliciously crafted Java-serialized objects and javax.naming.Reference instances. Several c3p0 ConnectionPoolDataSource implementations have a property called userOverridesAsString which conceptually represents a Map<String,Map<String,String>>. Prior to v0.12.0, that property was maintained as a hex-encoded serialized object. Any attacker able to reset this property, on an existing ConnectionPoolDataSource or via maliciously crafted serialized objects or javax.naming.Reference instances could be tailored execute unexpected code on the application's CLASSPATH. The danger of this vulnerability was strongly magnified by vulnerabilities in c3p0's main dependency, mchange-commons-java. This library includes code that mirrors early implementations of JNDI functionality, including ungated support for remote factoryClassLocation values. Attackers could set c3p0's userOverridesAsString hex-encoded serialized objects that include objects "indirectly serialized" via JNDI references. Deserialization of those objects and dereferencing of the embedded javax.naming.Reference objects could provoke download and execution of malicious code from a remote factoryClassLocation. Although hazard presented by c3p0's vulnerabilites are exarcerbated by vulnerabilities in mchange-commons-java, use of Java-serialized-object hex as the format for a writable Java-Bean property, of objects that may be exposed across JNDI interfaces, represents a serious independent fragility. The userOverridesAsString property of c3p0 ConnectionPoolDataSource classes has been reimplemented to use a safe CSV-based format, rather than rely upon potentially dangerous Java object deserialization. c3p0-0.12.0+ and above depend upon mchange-commons-java 0.4.0+, which gates support for remote factoryClassLocation values by configuration parameters that default to restrictive values. c3p0 additionally enforces the new mchange-commons-java com.mchange.v2.naming.nameGuardClassName to prevent injection of unexpected, potentially remote JNDI names. There is no supported workaround for versions of c3p0 prior to 0.12.0.
Upgrade path
41 packages: 14 fixed, 2 partially fixed, 21 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/c3p0(Debian 12) | = 0.9.1.2-10; = 0.9.1.2-10.1; = 0.9.1.2-10.1~deb12u1; = 0.9.1.2-11 +1 more | No fix listed | No fix yet |
| debian/c3p0(Debian 13) | = 0.9.1.2-10.1; = 0.9.1.2-11; All versions | No fix listed | No fix yet |
| debian/c3p0(Debian 14) | = 0.9.1.2-10.1; = 0.9.1.2-11; All versions | No fix listed | No fix yet |
| redhat amq streams | = 3; All versions | No fix listed | No fix yet |
| redhat debezium | = 3; All versions | No fix listed | No fix yet |
| redhat jboss fuse | All versions | No fix listed | No fix yet |
| redhat jbosseapxp | All versions | No fix listed | No fix yet |
| redhat/c3p0(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
| redhat/c3p0/c3p0(Red Hat jboss_enterprise_application_platform 8) | All versions | No fix listed | No fix yet |
| redhat/c3p0/c3p0(Red Hat jboss_fuse 7) | All versions | No fix listed | No fix yet |
| redhat/com.mchange.v2.c3p0/c3p0(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
| redhat/com.mchange/c3p0(Red Hat amq_streams 2) | All versions | No fix listed | No fix yet |
| redhat/com.mchange/c3p0(Red Hat apache_camel_spring_boot 4.14) | All versions | No fix listed | No fix yet |
| redhat/com.mchange/c3p0(Red Hat debezium 2) | All versions | No fix listed | No fix yet |
| redhat/com.mchange/c3p0(Red Hat debezium 3.2) | All versions | No fix listed | No fix yet |
| redhat/com.mchange/c3p0(Red Hat jboss_enterprise_application_platform 7) | All versions | No fix listed | No fix yet |
| redhat/org.hibernate.orm/hibernate-c3p0(Red Hat debezium 2) | All versions | No fix listed | No fix yet |
| redhat/org.hibernate.orm/hibernate-c3p0(Red Hat debezium 3) | All versions | No fix listed | No fix yet |
| redhat/org.hibernate.orm/hibernate-core:6.6.48.Final-redhat-00001(Red Hat jboss_enterprise_application_platform el7) | All versions | No fix listed | No fix yet |
| redhat/org.hibernate/hibernate-c3p0(Red Hat jboss_enterprise_application_platform 7) | All versions | No fix listed | No fix yet |
| ubuntu/c3p0(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| redhat jboss enterprise application platform | < 0:6.6.48-1.Final_redhat_00001.1.el8eap; < 0:6.6.48-1.Final_redhat_00001.1.el9eap; = 8; = 8.1 +1 more | 0:6.6.48-1.Final_redhat_00001.1.el8eap, 0:6.6.48-1.Final_redhat_00001.1.el9eap | Partially fixed |
| redhat satellite | < 0:4.6.6-1.el9sat; = 6; All versions | 0:4.6.6-1.el9sat | Partially fixed |
| com.mchange/c3p0(Maven) | < 0.12.0; = 0.9.2; = 0.9.2-pre2-RELEASE; = 0.9.2-pre3 +37 more | 0.12.0 | Fixed |
| redhat/candlepin(Red Hat satellite 6.18 el9) | < 4.6.6-1.el9sat | 4.6.6-1.el9sat | Fixed |
| redhat/eap7-hibernate(Red Hat jboss_enterprise_application_platform_eus 7.1 el7) | < 5.1.17-5.Final_redhat_00006.1.ep7.el7 | 5.1.17-5.Final_redhat_00006.1.ep7.el7 | Fixed |
| redhat/eap7-hibernate(Red Hat jboss_enterprise_application_platform_eus 7.3 el7) | < 5.3.39-1.Final_redhat_00001.1.el7eap | 5.3.39-1.Final_redhat_00001.1.el7eap | Fixed |
| redhat/eap7-jboss-server-migration(Red Hat jboss_enterprise_application_platform_eus 7.3 el7) | < 1.7.2-24.Final_redhat_00026.1.el7eap | 1.7.2-24.Final_redhat_00026.1.el7eap | Fixed |
| redhat/eap7-netty(Red Hat jboss_enterprise_application_platform_eus 7.1 el7) | < 4.1.63-4.Final_redhat_00005.1.ep7.el7 | 4.1.63-4.Final_redhat_00005.1.ep7.el7 | Fixed |
| redhat/eap7-netty(Red Hat jboss_enterprise_application_platform_eus 7.3 el7) | < 4.1.63-7.Final_redhat_00005.1.el7eap | 4.1.63-7.Final_redhat_00005.1.el7eap | Fixed |
… and 11 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| com.mchange/c3p0(Maven) | < 0.12.0 | 0.12.0 |
| com.mchange/c3p0(Maven) | = 0.10.0 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.10.0-pre1 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.10.0-pre2 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.10.0-pre3 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.10.0-pre4 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.10.0-pre5 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.10.0-pre6 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.10.0-pre7 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.10.1 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.10.2 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.11.0 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.11.0-pre1 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.11.0-pre2 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.11.1 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.11.2 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.2 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.2-pre2-RELEASE | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.2-pre3 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.2-pre4 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.2-pre5 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.2-pre6 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.2-pre7 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.2-pre8 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.2.1 | No fix listed |
Show 72 more
| Product | Affected versions | Fixed in |
|---|---|---|
| com.mchange/c3p0(Maven) | = 0.9.5 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.5-pre1 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.5-pre10 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.5-pre2 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.5-pre3 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.5-pre4 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.5-pre5 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.5-pre6 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.5-pre7 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.5-pre8 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.5-pre9 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.5.1 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.5.2 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.5.3 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.5.4 | No fix listed |
| com.mchange/c3p0(Maven) | = 0.9.5.5 | No fix listed |
| swaldman c3p0 | = < 0.12.0 | No fix listed |
| redhat apache camel spring boot | = 4.14 | No fix listed |
| redhat debezium | = 3 | No fix listed |
| redhat jboss enterprise application platform | = 8.1 | No fix listed |
| redhat jboss enterprise application platform | < 0:6.6.48-1.Final_redhat_00001.1.el8eap | 0:6.6.48-1.Final_redhat_00001.1.el8eap |
| redhat jboss enterprise application platform | < 0:6.6.48-1.Final_redhat_00001.1.el9eap | 0:6.6.48-1.Final_redhat_00001.1.el9eap |
| redhat satellite | < 0:4.6.6-1.el9sat | 0:4.6.6-1.el9sat |
| redhat apache camel hawtio | = 4 | No fix listed |
| redhat debezium | All versions | No fix listed |
| redhat jboss fuse | All versions | No fix listed |
| redhat jboss enterprise application platform | All versions | No fix listed |
| redhat jboss enterprise application platform | = 8 | No fix listed |
| redhat jbosseapxp | All versions | No fix listed |
| redhat jboss enterprise bpms platform | = 7 | No fix listed |
| redhat satellite | All versions | No fix listed |
| redhat satellite | = 6 | No fix listed |
| redhat amq streams | All versions | No fix listed |
| redhat amq streams | = 3 | No fix listed |
| debian/c3p0(Debian:12) | All versions | No fix listed |
| debian/c3p0(Debian:12) | = 0.9.1.2-10 | No fix listed |
| debian/c3p0(Debian:12) | = 0.9.1.2-10.1 | No fix listed |
| debian/c3p0(Debian:12) | = 0.9.1.2-10.1~deb12u1 | No fix listed |
| debian/c3p0(Debian:12) | = 0.9.1.2-11 | No fix listed |
| debian/c3p0(Debian:13) | All versions | No fix listed |
| debian/c3p0(Debian:13) | = 0.9.1.2-10.1 | No fix listed |
| debian/c3p0(Debian:13) | = 0.9.1.2-11 | No fix listed |
| debian/c3p0(Debian:14) | All versions | No fix listed |
| debian/c3p0(Debian:14) | = 0.9.1.2-10.1 | No fix listed |
| debian/c3p0(Debian:14) | = 0.9.1.2-11 | No fix listed |
| ubuntu/c3p0(Ubuntu:22.04) | < 0.9.1.2-10ubuntu1+esm1 | 0.9.1.2-10ubuntu1+esm1 |
| redhat/com.mchange/c3p0(Red Hat:apache_camel_spring_boot:4.14) | All versions | No fix listed |
| redhat/com.mchange/c3p0(Red Hat:debezium:3.2) | All versions | No fix listed |
| redhat/eap7-hibernate(Red Hat:jboss_enterprise_application_platform_eus:7.1::el7) | < 5.1.17-5.Final_redhat_00006.1.ep7.el7 | 5.1.17-5.Final_redhat_00006.1.ep7.el7 |
| redhat/eap7-netty(Red Hat:jboss_enterprise_application_platform_eus:7.1::el7) | < 4.1.63-4.Final_redhat_00005.1.ep7.el7 | 4.1.63-4.Final_redhat_00005.1.ep7.el7 |
| redhat/eap7-wildfly(Red Hat:jboss_enterprise_application_platform_eus:7.1::el7) | < 7.1.16-1.GA_redhat_00002.1.ep7.el7 | 7.1.16-1.GA_redhat_00002.1.ep7.el7 |
| redhat/eap7-hibernate(Red Hat:jboss_enterprise_application_platform_eus:7.3::el7) | < 5.3.39-1.Final_redhat_00001.1.el7eap | 5.3.39-1.Final_redhat_00001.1.el7eap |
| redhat/eap7-jboss-server-migration(Red Hat:jboss_enterprise_application_platform_eus:7.3::el7) | < 1.7.2-24.Final_redhat_00026.1.el7eap | 1.7.2-24.Final_redhat_00026.1.el7eap |
| redhat/eap7-netty(Red Hat:jboss_enterprise_application_platform_eus:7.3::el7) | < 4.1.63-7.Final_redhat_00005.1.el7eap | 4.1.63-7.Final_redhat_00005.1.el7eap |
| redhat/eap7-wildfly(Red Hat:jboss_enterprise_application_platform_eus:7.3::el7) | < 7.3.19-1.GA_redhat_00004.1.el7eap | 7.3.19-1.GA_redhat_00004.1.el7eap |
| redhat/org.hibernate.orm/hibernate-core:6.6.48.Final-redhat-00001(Red Hat:jboss_enterprise_application_platform::el7) | All versions | No fix listed |
| redhat/eap8-hibernate(Red Hat:jboss_enterprise_application_platform:8.1::el8) | < 6.6.48-1.Final_redhat_00001.1.el8eap | 6.6.48-1.Final_redhat_00001.1.el8eap |
| redhat/eap8-hibernate(Red Hat:jboss_enterprise_application_platform:8.1::el9) | < 6.6.48-1.Final_redhat_00001.1.el9eap | 6.6.48-1.Final_redhat_00001.1.el9eap |
| redhat/candlepin(Red Hat:satellite:6.18::el9) | < 4.6.6-1.el9sat | 4.6.6-1.el9sat |
| redhat/com.mchange/c3p0(Red Hat:debezium:2) | All versions | No fix listed |
| redhat/org.hibernate.orm/hibernate-c3p0(Red Hat:debezium:2) | All versions | No fix listed |
| redhat/org.hibernate.orm/hibernate-c3p0(Red Hat:debezium:3) | All versions | No fix listed |
| redhat/c3p0/c3p0(Red Hat:jboss_fuse:7) | All versions | No fix listed |
| redhat/com.mchange/c3p0(Red Hat:jboss_enterprise_application_platform:7) | All versions | No fix listed |
| redhat/org.hibernate/hibernate-c3p0(Red Hat:jboss_enterprise_application_platform:7) | All versions | No fix listed |
| redhat/c3p0/c3p0(Red Hat:jboss_enterprise_application_platform:8) | All versions | No fix listed |
| redhat/c3p0(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/com.mchange.v2.c3p0/c3p0(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/com.mchange/c3p0(Red Hat:amq_streams:2) | All versions | No fix listed |
| ubuntu/c3p0(Ubuntu:24.04) | < 0.9.1.2-10ubuntu2+esm1 | 0.9.1.2-10ubuntu2+esm1 |
| ubuntu/c3p0(Ubuntu:26.04) | < 0.9.1.2-11ubuntu0.1~esm1 | 0.9.1.2-11ubuntu0.1~esm1 |
| ubuntu/c3p0(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/swaldman/c3p0/security/advisories/GHSA-5476-xc4j-rqcv vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/swaldman/c3p0/commit/e14cbd8166e423e2e9a9d6f08b2add3433492d6e patch
- github.com product
- https://mogwailabs.de/en/blog/2025/02/c3p0-you-little-rascal
- https://www.mchange.com/projects/c3p0/#configuring_security
- Red Hat CVE page vdb-entry vendor-advisory
- RHBZ#2442908 issue-tracking
- security.access.redhat.com
- RHSA-2026:18054 patch vendor-advisory
- RHSA-2026:18055 patch vendor-advisory
- RHSA-2026:28385 patch vendor-advisory
- RHSA-2026:4285 patch vendor-advisory
- RHSA-2026:18059 patch vendor-advisory
- RHSA-2026:3890 patch vendor-advisory
- github.com
- Debian Security Tracker CVE-2026-27830 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8642-1 vendor-advisory
- www.cve.org
- RHSA-2026:73976 patch vendor-advisory
- RHSA-2026:73644 patch vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-8786 third-party-advisory