Vulnerability · Published Jun 30, 2026 · Assigned by GitHub_M

CVE-2026-55223c3p0 exposes a deserialization "sink" via JDBC DataSource bean properties

Medium 6.3

In plain English

A medium-severity unsafe deserialization in c3p0 from swaldman. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.3Medium
Exploit odds (30 days)0.5%top 58.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

c3p0 is a JDBC Connection pooling library. In versions prior to 0.14.0, c3p0 in combination with other libraries, can compose to a "sink" for deserialization gadgets. The JDBC spec's DataSource.getConnection() and ConnectionPoolDataSource.getPooledConnection() match the getXXX() form, so JavaBean libraries treat them as "properties" assumed safe while they actually call into JDBC drivers. Attackers can thus craft malicious DataSource objects whose property lookups invoke vulnerable drivers, then smuggle them in serialized form to where an application deserializes and auto-resolves bean properties — triggering the attack. This requires a susceptible DataSource/ConnectionPoolDataSource and JDBC driver on the CLASSPATH, plus a carrier that auto-looks-up JavaBean properties on = deserialization, most commonly a collection paired with an Apache commons-beanutils Comparator that sorts by bean properties. c3p0 supplied that susceptible DataSource/ConnectionPoolDataSource, which was an essential component of the trigger. This issue has been fixed in version 0.14.0.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12c3p0no fix listedDEBIAN-CVE-2026-55223
Debian:13c3p0no fix listedDEBIAN-CVE-2026-55223
Debian:14c3p0no fix listedDEBIAN-CVE-2026-55223
Mavencom.mchange:c3p00.14.0GHSA-w6w4-rjh9-9r58
Ubuntu:25.10c3p0no fix listedUBUNTU-CVE-2026-55223
Ubuntu:26.10c3p0no fix listedUBUNTU-CVE-2026-55223

Affected products (as reported)

VendorProductVersions
swaldman c3p0 < 0.14.0

Weakness: CWE-502, CWE-915 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

References