CVE-2026-10879

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

Published Jun 5, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Solution

Upgrade to DBI 1.648 or later.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4649-1 libdbi-perl security update
Debian DSA Debian DSA DSA-6338-1 libdbi-perl security update
Ubuntu USN Ubuntu USN USN-8466-1 Perl DBI module vulnerabilities
History
Type Values Removed Values Added
First Time appeared Perl
Perl dbi
CPEs cpe:2.3:a:perl:dbi:*:*:*:*:*:*:*:*
Vendors & Products Perl
Perl dbi
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Hmbrand
Hmbrand dbi
Vendors & Products Hmbrand
Hmbrand dbi
Type Values Removed Values Added
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.
Title DBI versions before 1.648 for Perl have a heap overflow when preparsing SQL statements with more than 9 binders
Weaknesses CWE-787
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Jun 8, 2026, 4:55 PM
Reserved
Jun 4, 2026, 4:34 PM
Status
Analyzed
Published
Jun 5, 2026, 3:16 PM
Modified
Oct 26, 2026, 11:10 AM