{"id":"CVE-2026-88816","aliases":["CVE-2026-88816"],"related":[],"kind":"vulnerability","state":"published","title":"DBI versions before 1.654 for Perl incorrectly treat numeric values as strings in FetchHashKeyName","summary":"DBI versions before 1.654 for Perl incorrectly treat numeric values as strings in FetchHashKeyName.\n\nfetchrow_hashref uses the string pointer of the FetchHashKeyName attribute as the key name without stringifying it first. When FetchHashKeyName has been set to an integer (IV) or floating-point (NV) value, that pointer is invalid, so reading the key name triggers a segmentation fault.\n\nThis can be triggered with the following code:\n\n   my $dbh = DBI->connect( \"dbi:ExampleP:\", \"\", \"\",\n       { RaiseError => 0, PrintError => 0 } );\n   $dbh->{FetchHashKeyName} = 42;\n\n   my $sth = $dbh->prepare(\"select mode, size, name from .\");\n   $sth->execute;\n   $sth->fetchrow_hashref;","summarySource":"cvelist","descriptions":[{"lang":"en","text":"DBI versions before 1.654 for Perl incorrectly treat numeric values as strings in FetchHashKeyName.\n\nfetchrow_hashref uses the string pointer of the FetchHashKeyName attribute as the key name without stringifying it first. When FetchHashKeyName has been set to an integer (IV) or floating-point (NV) value, that pointer is invalid, so reading the key name triggers a segmentation fault.\n\nThis can be triggered with the following code:\n\n   my $dbh = DBI->connect( \"dbi:ExampleP:\", \"\", \"\",\n       { RaiseError => 0, PrintError => 0 } );\n   $dbh->{FetchHashKeyName} = 42;\n\n   my $sth = $dbh->prepare(\"select mode, size, name from .\");\n   $sth->execute;\n   $sth->fetchrow_hashref;","source":"cvelist"}],"published":"2026-09-28T16:04:40.458Z","modified":"2026-09-30T20:17:35.557Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-843"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"1.654","status":"affected"}],"package":"DBI","repo":"https://github.com/perl5-dbi/dbi","source":"cvelist"}],"references":[{"url":"https://github.com/perl5-dbi/dbi/security/advisories/GHSA-f4qx-mr9m-q2hq","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/perl5-dbi/dbi/commit/70962570212dc60a5428098cf2a0462ad5945851.patch","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://metacpan.org/release/HMBRAND/DBI-1.654/changes","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/09/28/13","tags":[],"sources":["cvelist","nvd"]}],"credits":["Harsh Raj Singhania"],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-09-30T19:51:15.598Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-88816","url":"https://www.cve.org/CVERecord?id=CVE-2026-88816","licence":"CVE Terms of Use","modified":"2026-09-30T19:51:20.177Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-88816","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-88816","licence":"Public domain","modified":"2026-09-30T20:17:35.557Z"}],"updatedAt":"2026-11-25T22:59:41.354Z","epss":{"score":0.00386,"percentile":0.34801,"date":"2026-12-01T12:00:22.000Z"}}