CVE-2026-14740
DBI versions before 1.650 for Perl read one byte out-of-bounds in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/perl5-dbi/dbi/commit/fc16f9e8b3dd5c65caf1867781ab2bfe2fadcc01.patch
- github.com/perl5-dbi/dbi/security/advisories/GHSA-35f4-f8m9-w8xg
- metacpan.org/release/HMBRAND/DBI-1.650/changes
- www.openwall.com/lists/oss-security/2026/07/07/17
- nvd.nist.gov/vuln/detail/CVE-2026-14740
- cve.org/CVERecord?id=CVE-2026-14740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.