DHI-cb6n-xcjr-yruy-ybyo

Source
https://scout.docker.com/v/DHI-cb6n-xcjr-yruy-ybyo
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-cb6n-xcjr-yruy-ybyo.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-cb6n-xcjr-yruy-ybyo
Upstream
Published
2026-11-11T17:18:01Z
Modified
2026-11-16T02:34:56Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/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 FetchHashKeyName.
Details

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

fetchrow_hashref uses the string pointer of the FetchHashKeyName attribute as the key name without stringifying it first. When FetchHashKeyName has been set to an integer (IV) or floating-point (NV) value, that pointer is invalid, so reading the key name triggers a segmentation fault.

This can be triggered with the following code:

my $dbh = DBI->connect( "dbi:ExampleP:", "", "", { RaiseError => 0, PrintError => 0 } ); $dbh->{FetchHashKeyName} = 42;

my $sth = $dbh->prepare("select mode, size, name from ."); $sth->execute; $sth->fetchrow_hashref;

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-cb6n-xcjr-yruy-ybyo.json"