DBI versions before 1.650 for Perl read one byte out-of-bounds in preparse when deleting an initial SQL comment. The preparse method normalises SQL and removes comments. When the SQL starts with a comment line, the deletion of that line during normalisation led to an out-of-bounds read by one byte. The result is a fault on memory-hardened builds and nondeterministic newline retention on normal builds.
Fix
Patch, vendor advisory and mitigation references on NVD 3
- https://github.com/perl5-dbi/dbi/commit/fc16f9e8b3dd5c65caf1867781ab2bfe2fadcc01.patch Patch
- https://github.com/perl5-dbi/dbi/security/advisories/GHSA-35f4-f8m9-w8xg Vendor Advisory
- http://www.openwall.com/lists/oss-security/2026/07/07/17 Mailing List, Patch, Third Party Advisory
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.1 · perlNVD modified 2026-10-25 20:10
Affected (CPE criteria) 1
cpe:2.3:a:perl:dbi:*:*:*:*:*:*:*:*
References 4
- https://github.com/perl5-dbi/dbi/commit/fc16f9e8b3dd5c65caf1867781ab2bfe2fadcc01.patch Patch
- https://github.com/perl5-dbi/dbi/security/advisories/GHSA-35f4-f8m9-w8xg Vendor Advisory
- https://metacpan.org/release/HMBRAND/DBI-1.650/changes Release Notes
- http://www.openwall.com/lists/oss-security/2026/07/07/17 Mailing List, Patch, Third Party Advisory