CVE-2026-88816

NameCVE-2026-88816
DescriptionDBI 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;
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4798-1
Debian Bugs1149042

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libdbi-perl (PTS)bookworm1.643-4+deb12u1vulnerable
bookworm (security)1.643-4+deb12u3fixed
trixie (security), trixie1.652-2~deb13u1vulnerable
forky, sid1.655-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libdbi-perlsourcebookworm1.643-4+deb12u3DLA-4798-1
libdbi-perlsource(unstable)1.654-11149042

Notes

[trixie] - libdbi-perl <no-dsa> (Minor issue)
https://lists.security.metacpan.org/cve-announce/msg/43915934/
Fixed by: https://github.com/perl5-dbi/dbi/commit/70962570212dc60a5428098cf2a0462ad5945851 (1.654)

Search for package or bug name: Reporting problems