PT-2026-108335 · Azure Linux · Perl-Dbi

Published

2026-09-28

·

Updated

2026-09-28

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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 );
Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

AZL-105212

Affected Products

Perl-Dbi