Perl DBI 1.648 Fixes SQL Preparse Heap Overflow and Separate Stack Overflow
Vulnerability Disclosure · 3 sources · Updated 30d ago · First seen Apr 25, 2026

Perl DBI 1.648 fixes CVE-2026-10879, a heap buffer overflow affecting earlier versions when preparsing SQL statements containing more than nine binders. The preparse method allocates only three characters per numbered binder, leaving insufficient space for multi-digit binder numbers and causing an out-of-bounds write. The vulnerability was reported to CPANSec on April 25, 2026, fixed in a May 28 commit, and addressed in the June 4 release.
The same release fixes a possible stack overflow tracked as CVE-2026-9698 and prevents table source locations outside explicitly specified folders. The changelog does not specify the stack overflow’s affected-version range or attack prerequisites, and the supplied advisories do not establish active exploitation or provide severity scores. Organizations using Perl DBI should inventory deployed versions and upgrade to 1.648 or later, including application dependencies that may retain older copies.
Why it matters
Perl applications using DBI versions before 1.648 are exposed to a heap buffer overflow when the SQL preparse method processes more than nine binders; DBI 1.648 also fixes a separate possible stack overflow. Memory corruption threatens application availability, but the supplied references do not establish code execution, data compromise, or active exploitation.
- Affected population: Organizations running Perl database applications, including services, batch jobs, and applications with bundled or independently installed DBI dependencies.
- Exposure scope: Cross-industry dependency exposure, with practical exploitability dependent on whether an application reaches the vulnerable preparse path and whether an attacker can influence the SQL statement structure.
- Business risk: Application crashes could interrupt database-backed services and processing workflows. The references do not quantify deployment prevalence or identify affected organizations.
- Uncertainty: Attack prerequisites and the affected-version range for the separate stack overflow, CVE-2026-9698, are not specified.


