Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-14740 EUVD-2026-42125

DBI versions before 1.650 for Perl read one byte out-of-bounds in preparse when deleting an initial SQL comment

Published Jul 7, 2026 · Updated Jul 8, 2026 · Assigned by CPANSec

Description

DBI versions before 1.650 for Perl read one byte out-of-bounds in preparse when deleting an initial SQL comment.

The preparse method normalises SQL and removes comments. When the SQL starts with a comment line, the deletion of that line during normalisation led to an out-of-bounds read by one byte. The result is a fault on memory-hardened builds and nondeterministic newline retention on normal builds.

Affected products

VendorProductAffectedFixed
HMBRAND DBI < 1.650 1.650

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.650-1 —
Debian 13 libdbi-perl 1.652-2~deb13u1 —
Debian 12 libdbi-perl 1.643-4+deb12u2 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libdbi-perl No fix yet —
Ubuntu 26.04 LTS libdbi-perl No fix yet —
Ubuntu 25.10 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
SLES 15 SP7 perl-DBI 1.647.0-150600.12.18.1 SUSE-SU-2026:3415-1
SLES 15 SP6 perl-DBI 1.647.0-150600.12.18.1 SUSE-SU-2026:3415-1
SLES 15 SP5 perl-DBI 1.642-150200.3.19.1 SUSE-SU-2026:3283-1
SLES 15 SP4 perl-DBI 1.642-150200.3.19.1 SUSE-SU-2026:3283-1
SLES 12 SP5 perl-DBI 1.628-5.21.1 SUSE-SU-2026:3461-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 perl-DBI 1.647.0-160000.4.1 SUSE-SU-2026:22623-1
SLES for SAP 15 SP6 perl-DBI 1.647.0-150600.12.18.1 SUSE-SU-2026:3415-1
SLES for SAP 15 SP5 perl-DBI 1.642-150200.3.19.1 SUSE-SU-2026:3283-1
SLES for SAP 15 SP4 perl-DBI 1.642-150200.3.19.1 SUSE-SU-2026:3283-1
SLES 16.0 perl-DBI 1.647.0-160000.4.1 SUSE-SU-2026:22623-1
SLE Micro 6.2 perl-DBI 1.647.0-160000.4.1 SUSE-SU-2026:22592-1
SLE HPC 15 SP5 perl-DBI 1.642-150200.3.19.1 SUSE-SU-2026:3283-1
SLE HPC 15 SP4 perl-DBI 1.642-150200.3.19.1 SUSE-SU-2026:3283-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-DBI 1.650.0-1.1 openSUSE-SU-2026:11234-1
openSUSE Leap 16.0 perl-DBI 1.647.0-160000.4.1 openSUSE-SU-2026:21293-1
ReleasePackageFixed inAdvisory
Alpine v3.24 perl-dbi 1.651-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 perl-DBI +1 1.650-1.amzn2023.0.1 ALAS2023-2026-1982
Amazon Linux 2 perl-DBI 1.627-4.amzn2.0.4 ALAS2-2026-3825

Azure Linux

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

Advisories 9

References