Bug 2542966 - CVE-2026-88816 perl-DBI: perl-DBI: Denial of Service via numeric FetchHashKeyName attribute [fedora-all]
Summary: CVE-2026-88816 perl-DBI: perl-DBI: Denial of Service via numeric FetchHashKey...
Keywords:
Status: MODIFIED
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-DBI
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Jitka Plesnikova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["245b53b3-bf28-41f4-a33a-2...
Depends On:
Blocks: CVE-2026-88816
TreeView+ depends on / blocked
 
Reported: 2026-09-29 06:44 UTC by Vladimir Vasilev
Modified: 2026-09-29 09:03 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-09-29 06:44:23 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

DBI versions before 1.654 for Perl incorrectly treat numeric values as strings in FetchHashKeyName.

fetchrow_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.

This can be triggered with the following code:

   my $dbh = DBI->connect( "dbi:ExampleP:", "", "",
       { RaiseError => 0, PrintError => 0 } );
   $dbh->{FetchHashKeyName} = 42;

   my $sth = $dbh->prepare("select mode, size, name from .");
   $sth->execute;
   $sth->fetchrow_hashref;

Comment 1 Fedora Update System 2026-09-29 09:03:22 UTC
FEDORA-2026-2e78b6b58e (perl-DBI-1.654-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-2e78b6b58e

Comment 2 Fedora Update System 2026-09-29 09:03:30 UTC
FEDORA-2026-dc85e47244 (perl-DBI-1.654-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-dc85e47244

Comment 3 Fedora Update System 2026-09-29 09:03:36 UTC
FEDORA-2026-e39b376e66 (perl-DBI-1.654-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-e39b376e66


Note You need to log in before you can comment on or make changes to this bug.