Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-10879 EUVD-2026-34843GHSA-c7xw-cj86-m724

DBI versions before 1.648 for Perl have a heap overflow when preparsing SQL statements with more than 9 binders

Published Jun 5, 2026 · Updated Jun 8, 2026 · Assigned by CPANSec

Description

DBI versions before 1.648 for Perl have a heap overflow when preparsing SQL statements with more than 9 binders.

The preparse method expands SQL placeholder characters to numbered binders of the form :pN, but only allocates three characters per binder in the buffer. Placeholders 10-99 require four characters, 100-999 require five characters, et cetera.

Affected products

VendorProductAffectedFixed
HMBRAND DBI < 1.648 1.648

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.648-1 —
Debian 13 libdbi-perl 1.647-1+deb13u1 —
Debian 12 libdbi-perl 1.643-4+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS libdbi-perl 1.647-1ubuntu0.26.04.1 —
Ubuntu 25.10 libdbi-perl 1.647-1ubuntu0.25.10.1 —
Ubuntu 24.04 LTS libdbi-perl 1.643-4ubuntu0.1 —
Ubuntu 22.04 LTS libdbi-perl 1.643-3ubuntu0.1 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS libdbi-perl 1.643-1ubuntu0.1+esm1 —
Ubuntu Pro 18.04 LTS libdbi-perl 1.640-1ubuntu0.3+esm1 —
Ubuntu Pro 16.04 LTS libdbi-perl 1.634-1ubuntu0.2+esm2 —
Ubuntu Pro 14.04 LTS libdbi-perl 1.630-1ubuntu0.1~esm6 —
ReleasePackageFixed inAdvisory
RHEL 10 perl-DBI 1.643-26.el10_2.1 RHSA-2026:38513
RHEL 9 perl-DBI 1.643-9.el9_8.1 RHSA-2026:38512
RHEL 8 perl-DBI 1.641-2.el8_10 RHSA-2026:62667, RHSA-2026:38901

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 perl-DBI 1.643-26.el10_2.1 ALSA-2026:38513
AlmaLinux 9 perl-DBI 1.643-9.el9_8.1 ALSA-2026:38512
AlmaLinux 8 perl-DBI 1.641-2.el8_10 ALSA-2026:62667, ALSA-2026:38901

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 perl-DBI 1.641-2.el8_10 RLSA-2026:62667
ReleasePackageFixed inAdvisory
SLES 15 SP7 perl-DBI 1.647.0-150600.12.11.1 SUSE-SU-2026:2749-1
SLES 15 SP6 perl-DBI 1.647.0-150600.12.11.1 SUSE-SU-2026:2749-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 perl-DBI 1.647.0-160000.3.1 SUSE-SU-2026:22330-1
SLES for SAP 15 SP6 perl-DBI 1.647.0-150600.12.11.1 SUSE-SU-2026:2749-1
SLES 16.0 perl-DBI 1.647.0-160000.3.1 SUSE-SU-2026:22330-1
SLE Micro 6.2 perl-DBI 1.647.0-160000.3.1 SUSE-SU-2026:22257-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-DBI 1.648.0-1.1 openSUSE-SU-2026:10986-1
openSUSE Leap 16.0 perl-DBI 1.647.0-160000.3.1 openSUSE-SU-2026:21029-1
ReleasePackageFixed inAdvisory
Alpine v3.24 perl-dbi 1.648-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 perl-DBI +1 1.648-1.amzn2023.0.1 ALAS2023-2026-1850
Amazon Linux 2 perl-DBI 1.627-4.amzn2.0.3 ALAS2-2026-3361

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 perl-DBI 1.643-5 —

Advisories 18

References