{"id":"CVE-2019-5427","published":"2019-04-22T20:52:56Z","modified":"2024-08-04T19:54:53Z","title":"c3p0 version < 0.9.5.4 may be exploited by a billion laughs attack when loading XML configuration due to missing…","vendor":null,"product":null,"tier":"tail","description":{"text":"c3p0 version < 0.9.5.4 may be exploited by a billion laughs attack when loading XML configuration due to missing protections against recursive entity expansion when loading configuration.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04882,"percentile":0.92271,"provenance":"source"},"cwes":[{"id":"CWE-776","name":"Improper Restriction of Recursive Entity References in DTDs"}],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFIVX6HOVNLAM7W3SUAMHYRNLCVQSAWR/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQ47OFV57Y2DAHMGA5H3JOL4WHRWRFN4/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2020.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpujul2020.html","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/reports/509315","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2020.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpujan2021.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC"]}],"priority":{"score":23.5,"factors":[{"name":"EPSS percentile","points":18.45},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2020-12-13","earliestUrl":"https://github.com/shanika04/cp30_XXE_partial_fix","repos":[{"name":"shanika04/cp30_XXE_partial_fix","url":"https://github.com/shanika04/cp30_XXE_partial_fix","stars":0,"created":"2020-12-13"}]},"first":{"date":"2020-12-13","source":"PoC-in-GitHub","url":"https://github.com/shanika04/cp30_XXE_partial_fix"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"c3p0","versions":["before 0.9.5.4"]}],"affected":[{"ecosystem":"Maven","package":"com.mchange:c3p0","vulnerableRanges":["<0.9.5.4"],"patched":["0.9.5.4"],"from":["GHSA-84p2-vf58-xhxv"],"provenance":"source"}],"summary":{"text":"The c3p0 Java JDBC connection pooling library, in versions before 0.9.5.4, has a flaw in its XML configuration loading component, which lacks protections against recursive entity expansion. An attacker who can supply a crafted XML configuration document to c3p0 can trigger a \"billion laughs\" style expansion attack.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:13:43Z"},"euvd":{"id":"EUVD-2019-0409","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-20433","published":"2018-12-24","fixed":"0.9.5.3","kev":false,"link":{"from":"CVE-2018-20433","to":"CVE-2019-5427","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.mchange:c3p0","fromFixed":"0.9.5.3","toFixed":"0.9.5.4","daysApart":119}]}},{"cve":"CVE-2019-5427","published":"2019-04-22","fixed":"0.9.5.4","kev":false},{"cve":"CVE-2026-27830","published":"2026-02-26","fixed":"0.12.0","kev":false},{"cve":"CVE-2026-55223","published":"2026-06-30","fixed":"0.14.0","kev":false}],"package":"Maven:com.mchange:c3p0"}}