Skip to content
OpenAdvisories
Medium · 6.2 CVE-2026-88815 EUVD-2026-88342

DBI versions before 1.654 for Perl incorrectly treat numeric values as strings in sql_type_cast_svpv

Published Sep 28, 2026 · Updated Sep 30, 2026 · Assigned by CPANSec

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 products

VendorProductAffectedFixed
— DBI < 1.654 1.654

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libdbi-perl 1.654-1 —
Debian 13 libdbi-perl No fix yet —
Debian 12 libdbi-perl 1.643-4+deb12u3 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libdbi-perl No fix yet —
Ubuntu 26.04 LTS libdbi-perl No fix yet —
Ubuntu 24.04 LTS libdbi-perl No fix yet —
Ubuntu 22.04 LTS libdbi-perl No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS libdbi-perl No fix yet —
Ubuntu Pro 18.04 LTS libdbi-perl No fix yet —
Ubuntu Pro 16.04 LTS libdbi-perl No fix yet —
Ubuntu Pro 14.04 LTS libdbi-perl No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 perl-DBI 1.643-26.el10_2.7 RHSA-2026:99209, RHSA-2026:76762
RHEL 9 perl-DBI 1.643-9.el9_8.7 RHSA-2026:99208, RHSA-2026:76760
RHEL 8 perl-DBI 1.641-4.el8_10 RHSA-2026:85916, RHSA-2026:77576

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 perl-DBI 1.643-26.el10_2.7 ALSA-2026:76762
AlmaLinux 9 perl-DBI 1.643-9.el9_8.7 ALSA-2026:76760
AlmaLinux 8 perl-DBI 1.641-4.el8_10 ALSA-2026:85916, ALSA-2026:77576

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 perl-DBI 1.643-26.el10_2.7 RLSA-2026:99209, RLSA-2026:76762
Rocky Linux 9 perl-DBI 1.643-9.el9_8.7 RLSA-2026:99208, RLSA-2026:76760
Rocky Linux 8 perl-DBI 1.641-4.el8_10 RLSA-2026:85916, RLSA-2026:77576
ReleasePackageFixed inAdvisory
SLES 15 SP7 perl-DBI 1.647.0-150600.12.26.1 SUSE-SU-2026:4805-1
SLES 15 SP5 perl-DBI 1.642-150200.3.26.1 SUSE-SU-2026:4612-1
SLES 15 SP4 perl-DBI 1.642-150200.3.26.1 SUSE-SU-2026:4612-1
SLES 12 SP5 perl-DBI 1.628-5.29.1 SUSE-SU-2026:4442-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 perl-DBI 1.642-150200.3.26.1 SUSE-SU-2026:4612-1
SLES for SAP 15 SP4 perl-DBI 1.642-150200.3.26.1 SUSE-SU-2026:4612-1
SLE HPC 15 SP5 perl-DBI 1.642-150200.3.26.1 SUSE-SU-2026:4612-1
SLE HPC 15 SP4 perl-DBI 1.642-150200.3.26.1 SUSE-SU-2026:4612-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-DBI 1.655.0-1.1 openSUSE-SU-2026:11966-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 perl-DBI +1 1.656-1.amzn2023.0.1 ALAS2023-2026-3414
Amazon Linux 2 perl-DBI 1.627-4.amzn2.0.9 ALAS2-2026-4077

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 perl-DBI 1.655-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 perl-DBI 1.643-26.el10_2.7 ELSA-2026-76762
Oracle Linux 9 perl-DBI 1.643-9.el9_8.7 ELSA-2026-76760
Oracle Linux 8 perl-DBI 1.641-4.el8_10 ELSA-2026-85916, ELSA-2026-77576

Advisories 27

References