Deserialization of Untrusted Data in c3p0 - CVE-2026-27830
Published: April 22, 2026 / Updated: April 27, 2026
c3p0
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to unsafe deserialization in the userOverridesAsString property of c3p0 ConnectionPoolDataSource implementations when processing maliciously crafted Java-serialized objects or javax.naming.Reference instances. A remote user can reset this property or supply crafted serialized objects or references to execute arbitrary code.
The impact can be amplified when embedded JNDI references trigger dereferencing of a remote factoryClassLocation.