cve.bz

CVE-2026-55223 swaldman c3p0: Deserialization of Untrusted Data

6.3 mediumEPSS 0.5%Fix available

Medium (6.3) in swaldman c3p0. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in com.mchange:c3p0 0.14.0.

On this page
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.

Severity

CVSS 4.0

6.3 medium
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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 42nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-07-01. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-502 Deserialization of Untrusted Data
CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-55223 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-55223?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-55223?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-55223 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
swaldman c3p0< 0.14.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w6w4-rjh9-9r58Mavencom.mchange:c3p0<0.14.00.14.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14c3p0no fix listedDEBIAN-CVE-2026-55223
Ubuntu25.10, 26.10c3p0no fix listedUBUNTU-CVE-2026-55223
UbuntuPro:16.04:LTSc3p00.9.1.2-9+deb8u1ubuntu0.16.04.1~esm2UBUNTU-CVE-2026-55223
UbuntuPro:18.04:LTSc3p00.9.1.2-9+deb8u1ubuntu0.18.04.1+esm1UBUNTU-CVE-2026-55223 USN-8642-1
UbuntuPro:20.04:LTSc3p00.9.1.2-10ubuntu0.20.04.1+esm1UBUNTU-CVE-2026-55223 USN-8642-1
UbuntuPro:22.04:LTSc3p00.9.1.2-10ubuntu1+esm1UBUNTU-CVE-2026-55223 USN-8642-1
UbuntuPro:24.04:LTSc3p00.9.1.2-10ubuntu2+esm1UBUNTU-CVE-2026-55223 USN-8642-1
UbuntuPro:26.04:LTSc3p00.9.1.2-11ubuntu0.1~esm1UBUNTU-CVE-2026-55223 USN-8642-1
openSUSETumbleweedc3p00.14.1-1.1openSUSE-SU-2026:11166-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

A flaw was found in c3p0. Prior to version 0.14.0, c3p0's DataSource and ConnectionPoolDataSource implementations expose getConnection() and getPooledConnection() as JavaBean properties. During deserialization, carrier libraries such as Apache Commons BeanUtils automatically invoke these getters, which can trigger calls into JDBC drivers. An attacker who can deliver a crafted serialized object to an application could exploit this to achieve remote code execution.

Successful exploitation requires all of the following prerequisites to be met:

1. c3p0 < 0.14.0 on the application classpath

2. A vulnerable JDBC driver on the classpath

3. A carrier library that auto-reads JavaBean properties during deserialization (e.g., commons-beanutils with a Comparator in a sorted collection)

4. A deserialization entry point that processes attacker-controlled data (e.g., via RMI, JMX, or HTTP)

This is a gadget chain attack where c3p0 provides one essential component. Removing any single prerequisite from the classpath prevents exploitation.

Red Hat's mitigation

Any of the following can reduce the risk or render exploitation not-feasible:

- Run applications on Java 16 or later, which restricts reflective access and partially blocks the JavaBean property lookup step of the attack chain.

- Remove Apache Commons BeanUtils from the classpath if it is not required, eliminating the most common deserialization carrier.

- Ensure the application does not deserialize untrusted input from network sources.

Red Hat recommends updating c3p0 to version 0.14.0 or later when a fix is available, which adds explicit BeanInfo classes to exclude the dangerous properties from JavaBean introspection.

ProductPackageStateAdvisory
Red Hat build of Apache Camel 4.18.3 for Spring Boot 3.5.16c3p0Fixed 2026-08-13RHSA-2026:54622
Red Hat Build of Debezium 3.6c3p0Fixed 2026-10-15RHSA-2026:83612
Red Hat build of Apache Camel - HawtIO 4c3p0Affected
Red Hat Fuse 7c3p0Will not fix
Red Hat JBoss Enterprise Application Platform Expansion Packc3p0Not affected
Red Hat Satellite 6candlepinNot affected
Red Hat Satellite 6satellite:el8/candlepinNot affected
streams for Apache Kafka 2c3p0Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-55223.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON