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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| swaldman | c3p0 | < 0.14.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | c3p0 | No fix yet | — |
| Debian 13 | c3p0 | No fix yet | — |
| Debian 12 | c3p0 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | c3p0 | No fix yet | — |
| Ubuntu 25.10 | c3p0 | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | c3p0 | 0.9.1.2-11ubuntu0.1~esm1 | USN-8642-1 |
| Ubuntu Pro 24.04 LTS | c3p0 | 0.9.1.2-10ubuntu2+esm1 | USN-8642-1 |
| Ubuntu Pro 22.04 LTS | c3p0 | 0.9.1.2-10ubuntu1+esm1 | USN-8642-1 |
| Ubuntu Pro 20.04 LTS | c3p0 | 0.9.1.2-10ubuntu0.20.04.1+esm1 | USN-8642-1 |
| Ubuntu Pro 18.04 LTS | c3p0 | 0.9.1.2-9+deb8u1ubuntu0.18.04.1+esm1 | USN-8642-1 |
| Ubuntu Pro 16.04 LTS | c3p0 | 0.9.1.2-9+deb8u1ubuntu0.16.04.1~esm2 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | c3p0 | 0.14.1-1.1 | openSUSE-SU-2026:11166-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | com.mchange:c3p0 | < 0.14.0 | 0.14.0 | GHSA-w6w4-rjh9-9r58 |
Advisories 2
- USN-8642-1 c3p0 vulnerabilities Ubuntu Security Notices (USN) · Oct 7, 2026
- openSUSE-SU-2026:11166-1 c3p0-0.14.1-1.1 on GA media SUSE / openSUSE Security Updates · Jul 2, 2026