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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

Upgrade to DBI 1.648 or later.


Workaround

No workaround given by the vendor.

History

Fri, 05 Jun 2026 14:45:00 +0000

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

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-06-05T14:30:58.497Z

Reserved: 2026-06-04T16:34:48.978Z

Link: CVE-2026-10879

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-05T15:16:46.817

Modified: 2026-06-05T15:16:46.817

Link: CVE-2026-10879

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-05T15:30:13Z

Weaknesses