CVE-2026-88815

NameCVE-2026-88815
DescriptionDBI 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 );
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4798-1
Debian Bugs1149042

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libdbi-perl (PTS)bookworm1.643-4+deb12u1vulnerable
bookworm (security)1.643-4+deb12u3fixed
trixie (security), trixie1.652-2~deb13u1vulnerable
forky, sid1.655-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libdbi-perlsourcebookworm1.643-4+deb12u3DLA-4798-1
libdbi-perlsource(unstable)1.654-11149042

Notes

[trixie] - libdbi-perl <no-dsa> (Minor issue)
https://lists.security.metacpan.org/cve-announce/msg/43915930/
Fixed by: https://github.com/perl5-dbi/dbi/commit/e5ad87e5602da995d28b4d65df222368b58d6702 (1.654)

Search for package or bug name: Reporting problems