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.
Fix
Patch, vendor advisory and mitigation references on NVD 1
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 9.8 · perlNVD modified 2026-10-26 11:10
Affected (CPE criteria) 1
cpe:2.3:a:perl:dbi:*:*:*:*:*:*:*:*
References 3
- https://github.com/perl5-dbi/dbi/commit/af79036c07aa9a457971c0f4136e37c85dc20978.patch Patch
- https://metacpan.org/release/HMBRAND/DBI-1.648/changes Release Notes
- http://www.openwall.com/lists/oss-security/2026/06/06/4 Mailing List, Third Party Advisory