CVE-2026-10879 PUBLISHED

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

Assigner: CPANSec
Reserved: 04.06.2026 Published: 05.06.2026 Updated: 05.06.2026

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.

Product Status

Vendor HMBRAND
Product DBI
Versions Default: unaffected
  • affected from 0 to 1.648 (excl.)

Solutions

Upgrade to DBI 1.648 or later.

References

Problem Types

  • CWE-787 (Out-of-bounds Write) CWE