# CVE-2026-88816: Perl DBI FetchHashKeyName integer value handling integer overflow

Source: https://junglewise.ai/threats/cve-2026-88816-dbi-versions-before-1-654-for-perl-incorrectly-treat-numeric  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-28. Updated: 2026-09-28  
License: CC BY 4.0 with a link back

CVE-2026-88816 · Severity: info · Published 2026-09-28

Perl's DBI database interface library incorrectly handles numeric values assigned to the FetchHashKeyName attribute, causing the application to crash when attempting to fetch database results as a hash. An attacker or malicious code that can control this attribute can trigger a denial of service by crashing any application using DBI.

Technologies: [Perl DBI](https://junglewise.ai/threats/technologies/perl-dbi). Vendors: [Perl](https://junglewise.ai/threats/vendors/perl).

## Quick answers

**Is CVE-2026-88816 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-88816 being exploited in the wild.

**How severe is CVE-2026-88816?** Informational severity, published 28 September 2026.

**Which products and versions are affected?** Perl DBI before 1.654.

**Is there a fix for CVE-2026-88816?** A patch was published on 2026-09-10. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-88816 attacked?** It is attacked with local access, in a software library.

**Am I affected by CVE-2026-88816?** Check whether you run Perl DBI at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability exists in the fetchrow_hashref() function in DBI.xs, which uses an invalid pointer when FetchHashKeyName is set to an integer (IV) or floating-point (NV) value. The code calls SvPVX() on the numeric SV without stringifying it first, resulting in a segmentation fault when reading the key name. A fix was applied in version 1.654 by using SvPV_nolen() to force stringification before dereferencing the pointer.

## Affected products

- Perl DBI before 1.654

## Timeline

- 2026-09-28: disclosed
- 2026-09-10: patched

## References

- [https://cpan.org/modules](https://cpan.org/modules)
- [https://github.com/perl5-dbi/dbi/commit/70962570212dc60a5428098cf2a0462ad5945851.patch](https://github.com/perl5-dbi/dbi/commit/70962570212dc60a5428098cf2a0462ad5945851.patch)

## Related threats

- [Perl DBI DBD::DBM lock release on failed open](https://junglewise.ai/threats/cve-2026-111879-dbi-versions-before-1-656-for-perl-hang-on-a-later-open-of-a-dbd)
- [Perl DBI type confusion in dbi_profile leading to crash](https://junglewise.ai/threats/cve-2026-108518-dbi-versions-before-1-656-for-perl-crash-via-type-confusion-in)
