CVE-2026-88816DBI versions before 1.654 for Perl incorrectly treat numeric values as strings in…
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;
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libdbi-perl | Fix pending | UBUNTU-CVE-2026-88816 | |
| Ubuntu 26.04 | libdbi-perl | Fixed | 1.647-1ubuntu0.26.04.4 | UBUNTU-CVE-2026-88816 |
| Ubuntu 24.04 | libdbi-perl | Fixed | 1.643-4ubuntu0.4 | UBUNTU-CVE-2026-88816 |
| Ubuntu 22.04 | libdbi-perl | Fixed | 1.643-3ubuntu0.4 | UBUNTU-CVE-2026-88816 |
| Ubuntu 20.04 | libdbi-perl | Fix pending | 1.643-1ubuntu0.1+esm4 (Ubuntu Pro) | UBUNTU-CVE-2026-88816 |
| Ubuntu 18.04 | libdbi-perl | Fix pending | 1.640-1ubuntu0.3+esm4 (Ubuntu Pro) | UBUNTU-CVE-2026-88816 |
| Ubuntu 16.04 | libdbi-perl | Fix pending | 1.634-1ubuntu0.2+esm5 (Ubuntu Pro) | UBUNTU-CVE-2026-88816 |
| Ubuntu 14.04 | libdbi-perl | Fix pending | 1.630-1ubuntu0.1~esm9 (Ubuntu Pro) | UBUNTU-CVE-2026-88816 |
| Debian 14 | libdbi-perl | Fixed | 1.654-1 | DEBIAN-CVE-2026-88816 |
| Debian 13 | libdbi-perl | Fixed | 1.656-1~deb13u1 | DEBIAN-CVE-2026-88816 |
| Debian 12 | libdbi-perl | Fixed | 1.643-4+deb12u3 | DEBIAN-CVE-2026-88816 |
| Red Hat Enterprise Linux 10 | perl-DBI | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | perl-DBI | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | perl-DBI | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | perl-DBI | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | perl-DBI | Will not fix Out of support scope |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- DBI: affected: before 1.654; fixed in
1.654
Solution: Upgrade to DBI 1.654 or later.
Vendor advisories:
- https://github.com/perl5-dbi/dbi/security/advisories/GHSA-f4qx-mr9m-q2hq (vendor-advisory)
- https://github.com/perl5-dbi/dbi/commit/70962570212dc60a5428098cf2a0462ad5945851.patch (patch)
- https://metacpan.org/release/HMBRAND/DBI-1.654/changes (release-notes)
References
- https://github.com/perl5-dbi/dbi/security/advisories/GHSA-f4qx-mr9m-q2hq
- https://github.com/perl5-dbi/dbi/commit/70962570212dc60a5428098cf2a0462ad5945851.patch
- https://metacpan.org/release/HMBRAND/DBI-1.654/changes
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.