# CVE-2026-88816: DBI versions before 1.654 for Perl incorrectly treat numeric values as strings in FetchHashKeyName

CVE-2026-88816 is fixed in 2 products on 1 platform, first by libdbi-perl 1.647-1ubuntu0.26.04.4, released September 28, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-88816
- Priority: High
- CVSS: 7.5 (Important)
- EPSS: 0.0039
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 28, 2026
- Weakness: Access of Resource Using Incompatible Type ('Type Confusion')
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-88816

## Description

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-&gt;connect( "dbi:ExampleP:", "", "",        { RaiseError =&gt; 0, PrintError =&gt; 0 } );    $dbh-&gt;{FetchHashKeyName} = 42;    my $sth = $dbh-&gt;prepare("select mode, size, name from .");    $sth-&gt;execute;    $sth-&gt;fetchrow_hashref;

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libdbi-perl Debian 12.15 (bookworm) | 1.643-4+deb12u3 | [DEBIAN-CVE-2026-88816](https://patchblox.com/security/data/fix/linux/debian-cve-2026-88816.md) | Sep 29, 2026 |
| Linux | libdbi-perl Debian 14 | 1.654-1 | [DEBIAN-CVE-2026-88816](https://patchblox.com/security/data/fix/linux/debian-cve-2026-88816.md) | Sep 29, 2026 |
| Linux | libdbi-perl Ubuntu 18.04.6 LTS (bionic) | 1.640-1ubuntu0.3+esm4 | [libdbi-perl 1.640-1ubuntu0.3+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libdbi-perl-1.640-1ubuntu0.3-esm4.md) | Oct 12, 2026 |
| Linux | libdbi-perl Ubuntu 20.04 LTS (focal) | 1.643-1ubuntu0.1+esm4 | [libdbi-perl 1.643-1ubuntu0.1+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libdbi-perl-1.643-1ubuntu0.1-esm4.md) | Oct 12, 2026 |
| Linux | libdbi-perl Ubuntu 22.04.1 LTS (jammy) | 1.643-3ubuntu0.4 | [libdbi-perl 1.643-3ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libdbi-perl-1.643-3ubuntu0.4.md) | Oct 12, 2026 |
| Linux | libdbi-perl Ubuntu 24.04.5 LTS (noble) | 1.643-4ubuntu0.4 | [libdbi-perl 1.643-4ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libdbi-perl-1.643-4ubuntu0.4.md) | Oct 12, 2026 |
| Linux | libdbi-perl Ubuntu 26.04.1 LTS (resolute) | 1.647-1ubuntu0.26.04.4 | [libdbi-perl 1.647-1ubuntu0.26.04.4](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libdbi-perl-1.647-1ubuntu0.26.04.4.md) | Sep 28, 2026 |
| Linux | perl-DBI sles 15.7 | 1.647.0-150600.12.26.1 | [SUSE-SU-2026:4805-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4805-1.md) | Nov 7, 2026 |

---

Data as of 2026-11-09T07:25:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
