9.8Critical

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

HMBRAND DBI Published: (5 months ago)

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.

Weakness (CWE): CWE-787

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
HMBRAND DBI < 1.648
perl dbi < 1.648

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:perl:dbi:*:*:*:*:*:*:*:* < 1.648