{"id":"CVE-2026-108518","aliases":["CVE-2026-108518"],"related":[],"kind":"vulnerability","state":"published","title":"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","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-10-20T21:23:13.373Z","modified":"2026-10-30T13:18:28.023Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","score":2.9,"rating":"LOW"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","score":2.9,"rating":"LOW"}],"cwes":["CWE-843"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"1.656","status":"affected"}],"package":"DBI","repo":"https://github.com/perl5-dbi/dbi","source":"cvelist"}],"references":[{"url":"https://github.com/perl5-dbi/dbi/security/advisories/GHSA-7393-6f8r-fhh3","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/perl5-dbi/dbi/commit/c2ff4df575d7af625bb4d0d1ef7539f90b22d8b2.patch","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://metacpan.org/release/HMBRAND/DBI-1.656/changes","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/10/20/37","tags":[],"sources":["cvelist","nvd"]}],"credits":["Henrik Teichmann"],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-10-30T12:47:30.050Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-108518","url":"https://www.cve.org/CVERecord?id=CVE-2026-108518","licence":"CVE Terms of Use","modified":"2026-10-30T12:48:49.541Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-108518","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-108518","licence":"Public domain","modified":"2026-10-30T13:18:28.023Z"}],"updatedAt":"2026-11-25T22:59:46.266Z","epss":{"score":0.00254,"percentile":0.18093,"date":"2026-12-01T12:00:22.000Z"}}