Vulnerability Description
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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Perl | Dbi | < 1.650 |
Related Weaknesses (CWE)
References
- https://github.com/perl5-dbi/dbi/commit/fc16f9e8b3dd5c65caf1867781ab2bfe2fadcc01Patch
- https://github.com/perl5-dbi/dbi/security/advisories/GHSA-35f4-f8m9-w8xgVendor Advisory
- https://metacpan.org/release/HMBRAND/DBI-1.650/changesRelease Notes
- http://www.openwall.com/lists/oss-security/2026/07/07/17Mailing ListPatchThird Party Advisory
FAQ
What is CVE-2026-14740?
CVE-2026-14740 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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 co...
How severe is CVE-2026-14740?
CVE-2026-14740 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-14740?
Check the references section above for vendor advisories and patch information. Affected products include: Perl Dbi.