Home

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.

PUBLISHED Reserved 2026-06-04 | Published 2026-06-05 | Updated 2026-06-08 | Assigner CPANSec

Problem types

CWE-787 (Out-of-bounds Write)

Product status

Default status
unaffected

Any version before 1.648
affected

Timeline

2026-04-25:Issue reported to CPANSec.
2026-05-28:Commit fixed the issue in DBI.
2026-06-04:DBI 1.648 released.

References

www.openwall.com/lists/oss-security/2026/06/06/4

metacpan.org/release/HMBRAND/DBI-1.648/changes release-notes

github.com/...af79036c07aa9a457971c0f4136e37c85dc20978.patch patch

cve.org (CVE-2026-10879)

nvd.nist.gov (CVE-2026-10879)

Download JSON