{"id":"CVE-2026-55223","published":"2026-06-30T22:56:55Z","modified":"2026-07-01T13:38:12Z","title":"c3p0 exposes a deserialization \"sink\" via JDBC DataSource bean properties","vendor":"swaldman","product":"c3p0","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0048,"percentile":0.33887,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"},{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"}],"references":[{"url":"https://github.com/swaldman/c3p0/security/advisories/GHSA-w6w4-rjh9-9r58","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/swaldman/c3p0/commit/7b022c4b6694dabc6204254dc917af9c38f2cb27","tags":["x_refsource_MISC"]}],"priority":{"score":11.2,"factors":[{"name":"EPSS percentile","points":6.78},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"swaldman","affectedVersions":[{"vendor":"swaldman","product":"c3p0","versions":["< 0.14.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-01T13:37:58.554398Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.mchange:c3p0","vulnerableRanges":["<0.14.0"],"patched":["0.14.0"],"from":["GHSA-w6w4-rjh9-9r58"],"provenance":"source"}],"summary":{"text":"c3p0, a JDBC connection pooling library, exposes a deserialization sink through its DataSource and ConnectionPoolDataSource bean properties, which JavaBean libraries treat as safe while they actually invoke JDBC drivers. An attacker who can get a crafted serialized DataSource object to an application that deserializes it and auto-resolves bean properties can trigger the attack, provided a susceptible DataSource/ConnectionPoolDataSource and JDBC driver are on the classpath along with a carrier such as a collection paired with an Apache commons-beanutils Comparator that sorts by bean properties.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:53Z"},"euvd":{"id":"EUVD-2026-40847","exploited":false,"provenance":"source"}}