Vulnerability · Published Sep 28, 2026 · Assigned by CPANSec

CVE-2026-88815DBI versions before 1.654 for Perl incorrectly treat numeric values as strings in sql_type_cast_svpv

Medium 6.2

In plain English

A medium-severity type confusion in DBI. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 10% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.2Medium
Exploit odds (30 days)0.2%top 89.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

DBI versions before 1.654 for Perl incorrectly treat numeric values as strings in sql_type_cast_svpv. When casting to SQL_NUMERIC, sql_type_cast_svpv passes the string pointer and length of the SV to grok_number without stringifying it first. An integer (IV) or floating-point (NV) value has no valid string pointer, so grok_number reads from an invalid address, triggering a segmentation fault. This is reachable in Perl using the sql_type_cast function: my $num = 42; DBI::sql_type_cast( $num, DBI::SQL_NUMERIC, 0 );

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10perl-DBI1.643-26.el10_2.7ALSA-2026:76762
AlmaLinux:8perl-DBI1.641-4.el8_10ALSA-2026:77576
AlmaLinux:8perl-DBI1.641-11.module_el8.10.0+4309+f7cd2555ALSA-2026:85916
AlmaLinux:9perl-DBI1.643-9.el9_8.7ALSA-2026:76760
Debian:12libdbi-perl1.643-4+deb12u3DEBIAN-CVE-2026-88815
Debian:13libdbi-perlno fix listedDEBIAN-CVE-2026-88815
Debian:14libdbi-perl1.654-1DEBIAN-CVE-2026-88815
Rocky Linux:10perl-DBI0:1.643-26.el10_2.7RLSA-2026:76762
Rocky Linux:8perl-DBI0:1.641-4.el8_10RLSA-2026:77576
Rocky Linux:8perl-DBI0:1.641-11.module+el8.10.0+40389+69d937a8RLSA-2026:85916
Rocky Linux:8perl-DBI0:1.641-11.module+el8.10.0+40389+22ad89a7RLSA-2026:85916
Rocky Linux:8perl-DBI0:1.641-11.module+el8.10.0+40389+75d7e2a7RLSA-2026:85916
Rocky Linux:8perl-DBI0:1.641-11.module+el8.10.0+40389+be9de675RLSA-2026:85916
Rocky Linux:9perl-DBI0:1.643-9.el9_8.7RLSA-2026:76760
Ubuntu:22.04:LTSlibdbi-perlno fix listedUBUNTU-CVE-2026-88815
Ubuntu:24.04:LTSlibdbi-perlno fix listedUBUNTU-CVE-2026-88815
Ubuntu:26.04:LTSlibdbi-perlno fix listedUBUNTU-CVE-2026-88815
Ubuntu:26.10libdbi-perlno fix listedUBUNTU-CVE-2026-88815

Affected products (as reported)

VendorProductVersions
DBI 0 – before 1.654

Weakness: CWE-843 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References