Buffer overflow in Hmbrand Dbi
CVE-2026-10879
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 42.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Hmbrand Dbi — versions 0
- Perl Dbi
Weakness classification (CWE)
References
- github.com/perl5-dbi/dbi/commit/af79036c07aa9a457971c0f4136e37c85dc20978.patch (Patch, patch)
- metacpan.org/release/HMBRAND/DBI-1.648/changes (release-notes, Release Notes)
- www.openwall.com/lists/oss-security/2026/06/06/4 (Mailing List, Third Party Advisory)