CVE-2026-10879
JSON

9.8critical

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

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.48% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
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

Product or packageVersionsReported by
DBIbefore 1.648CVE List
perl dbibefore 1.648NVD

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Las versiones de DBI anteriores a la 1.648 para Perl tienen un desbordamiento de montículo al preanalizar sentencias SQL con más de 9 enlazadores. El método “preparse” expande los caracteres de marcador de posición SQL a enlazadores numerados de la forma :pN, pero solo asigna tres caracteres por enlazador en el búfer. Los marcadores de posición 10-99 requieren cuatro caracteres, 100-999 requieren cinco caracteres, etcétera.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-10879 changed 2026-06-08CVE Terms of Use
NVDCVE-2026-10879 changed 2026-10-26Public domain