Home / swaldman / c3p0 / CVE-2026-27830
CVE-2026-27830: is it exploited, and which versions of swaldman c3p0 are affected and fixed?
CVE-2026-27830 is a deserialization of untrusted data vulnerability in swaldman c3p0. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: com.mchange:c3p0 before 0.12.0 (GitHub advisory GHSA-5476-xc4j-rqcv). Fixed in 0.12.0 (GitHub advisory GHSA-5476-xc4j-rqcv). Severity: High (8.9, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:13 UTC.
What is CVE-2026-27830?
c3p0 vulnerable to Remote Code Execution via unsafe deserialization of userOverridesAsString property
c3p0, a JDBC Connection pooling library, is vulnerable to attack via maliciously crafted Java-serialized objects and `javax.naming.Reference` instances. Several c3p0 `ConnectionPoolDataSource` implementations have a property called `userOverridesAsString` which conceptually represents a `Map<String,Map<String,String>>`. Prior to v0.12.0, that property was maintained as a hex-encoded serialized object. Any attacker able to reset this property, on an existing `ConnectionPoolDataSource` or via maliciously crafted serialized objects or `javax.naming.Reference` instances could be tailored execute unexpected code on the application's `CLASSPATH`. The danger of this vulnerability was strongly magnified by vulnerabilities in c3p0's main dependency, mchange-commons-java. This library includes code that mirrors early implementations of JNDI functionality, including ungated support for remote `factoryClassLocation` values. Attackers could set c3p0's `userOverridesAsString` hex-encoded serialized objects that include objects "indirectly serialized" via JNDI references. Deserialization of those objects and dereferencing of the embedded `javax.naming.Reference` objects could provoke download and execution of malicious code from a remote `factoryClassLocation`. Although hazard presented by c3p0's vulnerabilites are exarcerbated by vulnerabilities in mchange-commons-java, use of Java-serialized-object hex as the format for a writable Java-Bean property, of objects that may be exposed across JNDI interfaces, represents a serious independent fragility. The `userOverridesAsString` property of c3p0 `ConnectionPoolDataSource` classes has been reimplemented to use a safe CSV-based format, rather than rely upon potentially dangerous Java object deserialization. c3p0-0.12.0+ and above depend upon mchange-commons-java 0.4.0+, which gates support for remote `factoryClassLocation` values by configuration parameters that default to restrictive values. c3p0 additionally enforces the new mchange-commons-java `com.mchange.v2.naming.nameGuardClassName` to prevent injection of unexpected, potentially remote JNDI names. There is no supported workaround for versions of c3p0 prior to 0.12.0.
From the CVE record by GitHub_M, last updated September 15, 2026, 12:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| swaldman | c3p0 | < 0.12.0 |
As the CVE record by GitHub_M states it, last updated September 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | com.mchange:c3p0 | < 0.12.0 | 0.12.0 | GHSA-5476-xc4j-rqcv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 27, 2026. Summary: c3p0 vulnerable to Remote Code Execution via unsafe deserialization of userOverridesAsString property.
How severe is CVE-2026-27830?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.9 | CVSS 4.0 | CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | GitHub_M |
| High 8.0 | CVSS 3.1 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-27830 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, May 2, 2026)
- EPSS
- 0.61% probability of exploitation activity in the next 30 days, percentile 50.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/swaldman/c3p0/security/advisories/GHSA-5476-xc4j-rqcv x_refsource_CONFIRM
- https://github.com/swaldman/c3p0/commit/e14cbd8166e423e2e9a9d6f08b2add3433492d6e x_refsource_MISC
- https://mogwailabs.de/en/blog/2025/02/c3p0-you-little-rascal x_refsource_MISC
- https://www.mchange.com/projects/c3p0/#configuring_security x_refsource_MISC
- https://www.mchange.com/projects/c3p0/#security-note x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-27830 vdb-entry, x_refsource_REDHAT
- RHBZ#2442908 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27830.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:18054 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:18055 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:28385 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:4285 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:18059 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:3890 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- February 24, 2026
- Published
- February 26, 2026, 00:45 UTC
- CVE record updated
- September 15, 2026, 12:04 UTC by GitHub_M
- NVD
- Deferred, last modified September 14, 2026, 13:17 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:13 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect c3p0?
- Jun 30, 2026CVE-2026-55223 swaldman c3p0: deserialization of untrusted data
Questions about CVE-2026-27830
Is CVE-2026-27830 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.61% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of swaldman c3p0 are affected by CVE-2026-27830?
com.mchange:c3p0 before 0.12.0, per the GitHub advisory GHSA-5476-xc4j-rqcv. The tables above give every range the sources list.
Which version fixes CVE-2026-27830?
0.12.0, per the GitHub advisory GHSA-5476-xc4j-rqcv. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-27830?
High (8.9, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-27830?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.