{"id":"CVE-2026-108518","published":"2026-10-20T21:23:13Z","modified":"2026-10-30T12:48:49Z","title":"DBI versions before 1.656 for Perl crash via type confusion in dbi_profile when a database handle is destroyed under a…","vendor":null,"product":null,"tier":"tail","description":{"text":"DBI versions before 1.656 for Perl crash via type confusion in dbi_profile when a database handle is destroyed under a Profile Path with an {attr} element.\n\nAn {attr} element names a database handle attribute, which dbi_profile reads from the handle's inner hash. It expects the inner handle as a reference and dereferences it, but a handle that is being destroyed hands back the inner hash itself, so the dereference yields the hash's bucket array. A type check on that pointer usually fails and the call goes unprofiled. When the memory it addresses passes the check, the attribute lookup dereferences a NULL or invalid pointer and the process dies on SIGSEGV.\n\nThe Path is set by the application, by the Profile handle attribute, or by the DBI_PROFILE environment variable, so `DBI_PROFILE={ImplementorClass}` can crash an unmodified program.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.9,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00157,"percentile":0.02491,"provenance":"source"},"cwes":[{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"}],"references":[{"url":"https://github.com/perl5-dbi/dbi/security/advisories/GHSA-7393-6f8r-fhh3","tags":["vendor-advisory"]},{"url":"https://github.com/perl5-dbi/dbi/commit/c2ff4df575d7af625bb4d0d1ef7539f90b22d8b2.patch","tags":["patch"]},{"url":"https://metacpan.org/release/HMBRAND/DBI-1.656/changes","tags":["release-notes"]},{"url":"http://www.openwall.com/lists/oss-security/2026/10/20/37","tags":[]}],"priority":{"score":2.5,"factors":[{"name":"EPSS percentile","points":0.5},{"name":"CVSS severity","points":2.03}]},"affectedVersions":[{"vendor":null,"product":null,"versions":["< 1.656"]}],"solutions":{"items":["Upgrade to DBI 1.656 or later."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-30T12:47:30.050651Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-106230","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hmbrand-dbi-cve-2019-20919","parents":[{"from":"CVE-2019-20919","to":"CVE-2026-108518","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["DBI.xs"],"commits":["https://github.com/perl5-dbi/dbi/commit/eca7d7c8f43d96f6277e86d1000e842eb4cc67ff","https://github.com/perl5-dbi/dbi/commit/c2ff4df575d7af625bb4d0d1ef7539f90b22d8b2"],"basis":"shared function","functions":["dbi_profile"]}]},{"from":"CVE-2026-10879","to":"CVE-2026-108518","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["DBI.xs","dbixs_rev.h"],"commits":["https://github.com/perl5-dbi/dbi/commit/c2ff4df575d7af625bb4d0d1ef7539f90b22d8b2","https://github.com/perl5-dbi/dbi/commit/af79036c07aa9a457971c0f4136e37c85dc20978"],"basis":"rarely changed file"}]},{"from":"CVE-2026-14739","to":"CVE-2026-108518","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["DBI.xs","dbixs_rev.h"],"commits":["https://github.com/perl5-dbi/dbi/commit/c2ff4df575d7af625bb4d0d1ef7539f90b22d8b2","https://github.com/perl5-dbi/dbi/commit/2b77c88b655e9539a592c71a61fb965fc0075395"],"basis":"rarely changed file"}]}]}}