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

Vendors Products
Hmbrand Subscribe
Advisories

No advisories yet.

Fixes

Solution

Upgrade to DBI 1.648 or later.


Workaround

No workaround given by the vendor.

History

Sun, 07 Jun 2026 11:30:00 +0000

Type Values Removed Values Added
First Time appeared Hmbrand
Hmbrand dbi
Vendors & Products Hmbrand
Hmbrand dbi

Sat, 06 Jun 2026 06:30:00 +0000

Type Values Removed Values Added
References

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-06T05:18:05.204Z

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

Link: CVE-2026-10879

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Undergoing Analysis

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

Modified: 2026-06-06T06:16:38.923

Link: CVE-2026-10879

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-07T11:16:37Z

Weaknesses