Vulnerability · Published Jun 5, 2026 · Assigned by CPANSec

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

Critical 9.8

In plain English

A critical-severity out-of-bounds write in DBI from HMBRAND. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.5%top 58.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10perl-DBI1.643-26.el10_2.1ALSA-2026:38513
AlmaLinux:8perl-DBI1.641-5.module_el8.10.0+4219+13f48a6eALSA-2026:38901
AlmaLinux:8perl-DBI1.641-5.module_el8.10.0+4220+8669cc49ALSA-2026:38901
AlmaLinux:8perl-DBI1.641-5.module_el8.10.0+4218+c616d9bdALSA-2026:38901
AlmaLinux:8perl-DBI1.641-2.el8_10ALSA-2026:62667
AlmaLinux:9perl-DBI1.643-9.el9_8.1ALSA-2026:38512
Alpine:v3.24perl-dbi1.648-r0ALPINE-CVE-2026-10879
Debian:12libdbi-perl1.643-4+deb12u1DEBIAN-CVE-2026-10879
Debian:13libdbi-perl1.647-1+deb13u1DEBIAN-CVE-2026-10879
Debian:14libdbi-perl1.648-1DEBIAN-CVE-2026-10879
Rocky Linux:8perl-DBI0:1.641-2.el8_10RLSA-2026:62667
Ubuntu:22.04:LTSlibdbi-perl1.643-3ubuntu0.1UBUNTU-CVE-2026-10879
Ubuntu:24.04:LTSlibdbi-perl1.643-4ubuntu0.1UBUNTU-CVE-2026-10879
Ubuntu:25.10libdbi-perl1.647-1ubuntu0.25.10.1UBUNTU-CVE-2026-10879
Ubuntu:26.04:LTSlibdbi-perl1.647-1ubuntu0.26.04.1UBUNTU-CVE-2026-10879

Affected products (as reported)

VendorProductVersions
HMBRAND DBI 0 – before 1.648

Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References