Access of Resource Using Incompatible Type ('Type Confusion') Affecting perl-DBI-debuginfo 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.25% (19th 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-PERLDBIDEBUGINFO-22397633
  • published10 Nov 2026
  • disclosed20 Oct 2026

Introduced: 20 Oct 2026

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

How to fix?

Upgrade Amazon-Linux:2023 perl-DBI-debuginfo 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-debuginfo package and not the perl-DBI-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

DBI versions before 1.656 for Perl crash via type confusion in dbi_profile when a database handle is destroyed under a Profile Path with an {attr} element.

An {attr} element names a database handle attribute, which dbi_profile reads from the handle's inner hash. It expects the inner handle as a reference and dereferences it, but a handle that is being destroyed hands back the inner hash itself, so the dereference yields the hash's bucket array. A type check on that pointer usually fails and the call goes unprofiled. When the memory it addresses passes the check, the attribute lookup dereferences a NULL or invalid pointer and the process dies on SIGSEGV.

The Path is set by the application, by the Profile handle attribute, or by the DBI_PROFILE environment variable, so DBI_PROFILE={ImplementorClass} can crash an unmodified program.

CVSS Base Scores

version 3.1