Skip to content
OpenAdvisories
Low · 2.9 CVE-2026-108518 EUVD-2026-106230

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

Published Oct 20, 2026 · Updated Oct 30, 2026 · Assigned by CPANSec

Description

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.

Affected products

VendorProductAffectedFixed
— DBI < 1.656 1.656

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libdbi-perl 1.656-1 —
Debian 13 libdbi-perl No fix yet —
Debian 12 libdbi-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libdbi-perl No fix yet —
Ubuntu 26.04 LTS libdbi-perl No fix yet —
Ubuntu 24.04 LTS libdbi-perl No fix yet —
Ubuntu 22.04 LTS libdbi-perl No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS libdbi-perl No fix yet —
Ubuntu Pro 18.04 LTS libdbi-perl No fix yet —
Ubuntu Pro 16.04 LTS libdbi-perl No fix yet —
Ubuntu Pro 14.04 LTS libdbi-perl No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-DBI 1.656.0-1.1 openSUSE-SU-2026:12201-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 perl-DBI +1 1.656-1.amzn2023.0.1 ALAS2023-2026-3414
Amazon Linux 2 perl-DBI 1.627-4.amzn2.0.9 ALAS2-2026-4077

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 perl-DBI 1.656-1 —

Advisories 3

References