Access of Resource Using Incompatible Type ('Type Confusion') Affecting perl-DBI-debugsource package, versions <0:1.656-1.amzn2023.0.1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.39% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-PERLDBIDEBUGSOURCE-22397060
  • published10 Nov 2026
  • disclosed28 Sept 2026

Introduced: 28 Sep 2026

CVE-2026-88816  (opens in a new tab)
CWE-843  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 perl-DBI-debugsource to version 0:1.656-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-3414.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-DBI-debugsource package and not the perl-DBI-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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;

CVSS Base Scores

version 3.1