DHI-ljj2-p6ly-s65v-cttm

Source
https://scout.docker.com/v/DHI-ljj2-p6ly-s65v-cttm
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ljj2-p6ly-s65v-cttm.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-ljj2-p6ly-s65v-cttm
Upstream
Published
2026-11-11T17:18:01Z
Modified
2026-11-20T00:30:05Z
Severity
  • 6.2 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
DBI versions before 1.654 for Perl incorrectly treat numeric values as strings in sql_type_cast_svpv.
Details

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 );

References

Affected packages

Docker Hardened Images:Alpine:3.24 / perl-dbi

Package

Name
perl-dbi
Purl
pkg:apk/dhi/perl-dbi

Affected ranges

Affected versions

1.*
1.648-r0
1.651-r0
1.651-r1
1.651-r2

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ljj2-p6ly-s65v-cttm.json"