CVEfocus › CVE database › CVE-2026-108518

CVE-2026-108518DBI versions before 1.656 for Perl crash via type confusion in dbi_profile when a…

CVSS 2.9 LowEPSS 0.2% (higher than 2% of CVEs)Published 2026-10-20Updated 2026-10-30Assigner: CPANSec

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.

CWE-843

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
10Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libdbi-perlFix pendingUBUNTU-CVE-2026-108518
Ubuntu 26.04libdbi-perlUnder investigationUBUNTU-CVE-2026-108518
Ubuntu 24.04libdbi-perlUnder investigationUBUNTU-CVE-2026-108518
Ubuntu 22.04libdbi-perlUnder investigationUBUNTU-CVE-2026-108518
Ubuntu 20.04libdbi-perlFix pendingUBUNTU-CVE-2026-108518
Ubuntu 18.04libdbi-perlFix pendingUBUNTU-CVE-2026-108518
Ubuntu 16.04libdbi-perlFix pendingUBUNTU-CVE-2026-108518
Ubuntu 14.04libdbi-perlFix pendingUBUNTU-CVE-2026-108518
Debian 14libdbi-perlFixed1.656-1DEBIAN-CVE-2026-108518
Debian 13libdbi-perlFixed1.656-1~deb13u1DEBIAN-CVE-2026-108518
Debian 12libdbi-perlFix pendingDEBIAN-CVE-2026-108518
Red Hat Enterprise Linux 10perl-DBIFix pending
Fix deferred
Red Hat Enterprise Linux 9perl-DBIFix pending
Fix deferred
Red Hat Enterprise Linux 8perl-DBIFix pending
Fix deferred
Red Hat Enterprise Linux 7perl-DBIFix pending
Fix deferred
Red Hat Enterprise Linux 6perl-DBIWill not fix
Out of support scope

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to DBI 1.656 or later.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.