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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | perl-DBI | 1.643-26.el10_2.7 | ALSA-2026:76762 |
| AlmaLinux:8 | perl-DBI | 1.641-4.el8_10 | ALSA-2026:77576 |
| AlmaLinux:8 | perl-DBI | 1.641-11.module_el8.10.0+4309+f7cd2555 | ALSA-2026:85916 |
| AlmaLinux:9 | perl-DBI | 1.643-9.el9_8.7 | ALSA-2026:76760 |
| Debian:12 | libdbi-perl | 1.643-4+deb12u3 | DEBIAN-CVE-2026-88815 |
| Debian:13 | libdbi-perl | no fix listed | DEBIAN-CVE-2026-88815 |
| Debian:14 | libdbi-perl | 1.654-1 | DEBIAN-CVE-2026-88815 |
| Rocky Linux:10 | perl-DBI | 0:1.643-26.el10_2.7 | RLSA-2026:76762 |
| Rocky Linux:8 | perl-DBI | 0:1.641-4.el8_10 | RLSA-2026:77576 |
| Rocky Linux:8 | perl-DBI | 0:1.641-11.module+el8.10.0+40389+69d937a8 | RLSA-2026:85916 |
| Rocky Linux:8 | perl-DBI | 0:1.641-11.module+el8.10.0+40389+22ad89a7 | RLSA-2026:85916 |
| Rocky Linux:8 | perl-DBI | 0:1.641-11.module+el8.10.0+40389+75d7e2a7 | RLSA-2026:85916 |
| Rocky Linux:8 | perl-DBI | 0:1.641-11.module+el8.10.0+40389+be9de675 | RLSA-2026:85916 |
| Rocky Linux:9 | perl-DBI | 0:1.643-9.el9_8.7 | RLSA-2026:76760 |
| Ubuntu:22.04:LTS | libdbi-perl | no fix listed | UBUNTU-CVE-2026-88815 |
| Ubuntu:24.04:LTS | libdbi-perl | no fix listed | UBUNTU-CVE-2026-88815 |
| Ubuntu:26.04:LTS | libdbi-perl | no fix listed | UBUNTU-CVE-2026-88815 |
| Ubuntu:26.10 | libdbi-perl | no fix listed | UBUNTU-CVE-2026-88815 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://github.com/perl5-dbi/dbi/security/advisories/GHSA-c8vq-w3wr-6979 vendor-advisory
- https://github.com/perl5-dbi/dbi/commit/e5ad87e5602da995d28b4d65df222368b58d6702.patch patch
- https://metacpan.org/release/HMBRAND/DBI-1.654/changes release-notes
- http://www.openwall.com/lists/oss-security/2026/09/28/12