In versions prior to 0.14.0, c3p0 in combination with other libraries, can compose to a "sink" for deserialization gadgets. (CVE-2026-55223)
Description
c3p0 versions prior to 0.14.0 contain a deserialization vulnerability when used with certain other libraries. This vulnerability arises because c3p0's DataSource implementations can be exploited as a "sink" for deserialization gadgets via JavaBean property auto-resolution during deserialization. Attackers can craft malicious serialized DataSource objects that trigger unsafe property lookups, potentially invoking vulnerable JDBC drivers. The issue requires a susceptible DataSource/ConnectionPoolDataSource, a vulnerable JDBC driver on the classpath, and a deserialization context that auto-resolves bean properties, such as collections sorted by Apache commons-beanutils Comparator. This vulnerability has been fixed in version 0.14.0.
CVSS v4.0
Affected software
pkg:deb/ubuntu/c3p0?arch=source&distro=esm-apps-legacy/xenialpkg:deb/ubuntu/c3p0?arch=source&distro=esm-apps/bionicpkg:deb/ubuntu/c3p0?arch=source&distro=esm-apps/focalpkg:deb/ubuntu/c3p0?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/c3p0?arch=source&distro=esm-apps/noblepkg:deb/ubuntu/c3p0?arch=source&distro=questingpkg:deb/ubuntu/c3p0?arch=source&distro=stonkingpkg:deb/ubuntu/c3p0?arch=source&distro=esm-apps/resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in c3p0 prior to version 0.14.0 involves its DataSource and ConnectionPoolDataSource implementations being used as a deserialization gadget "sink". JavaBean libraries treat methods matching getXXX() as safe property accessors, but in this case, they invoke JDBC driver code during deserialization property resolution. Attackers can exploit this by crafting malicious serialized DataSource objects that, when deserialized in an environment with vulnerable JDBC drivers and auto-resolving bean properties (commonly via Apache commons-beanutils Comparator), trigger unsafe code execution paths. This requires the presence of c3p0's vulnerable DataSource, a susceptible JDBC driver on the classpath, and a deserialization context that auto-resolves bean properties. The vulnerability is addressed by upgrading to c3p0 version 0.14.0 or later.
Potential Impact
Successful exploitation can lead to execution of attacker-controlled code paths during deserialization, potentially allowing privilege escalation or arbitrary code execution depending on the environment and JDBC driver vulnerabilities. The impact depends on the presence of vulnerable JDBC drivers and the application's deserialization behavior. The CVSS vector indicates network attack vector with low complexity and partial attack requirements, with low confidentiality, integrity, and availability impacts.
Mitigation Recommendations
A fix is available by upgrading c3p0 to version 0.14.0 or later. Users should apply this official patch to remediate the vulnerability. No additional mitigation steps are specified beyond applying the update.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-55223
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:25.10","Ubuntu:26.10","Ubuntu:Pro:26.04:LTS"]
- Cvss Version
- 4.0
- State
- PUBLISHED
Patch Information
Threat ID: 6ad3f5f32cdf04f656663526
Added to database: 10/17/2026, 22:25:55 UTC
Last enriched: 10/18/2026, 00:46:33 UTC
Last updated: 10/18/2026, 00:46:33 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.