Critical severity9.1NVD Advisory· Published Jul 7, 2026· Updated Jul 10, 2026
CVE-2026-14740
CVE-2026-14740
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.
Affected products
5cpe:2.3:a:perl:dbi:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:perl:dbi:*:*:*:*:*:*:*:*range: <1.650
- (no CPE)range: <1.650
- osv-coords2 versionspkg:rpm/opensuse/perl-DBI&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/perl-DBI&distro=openSUSE%20Tumbleweed
< 1.647.0-160000.4.1+ 1 more
- (no CPE)range: < 1.647.0-160000.4.1
- (no CPE)range: < 1.650.0-1.1
Patches
Vulnerability mechanics
References
4- www.openwall.com/lists/oss-security/2026/07/07/17nvdMailing ListPatchThird Party Advisory
- github.com/perl5-dbi/dbi/commit/fc16f9e8b3dd5c65caf1867781ab2bfe2fadcc01.patchnvdPatch
- github.com/perl5-dbi/dbi/security/advisories/GHSA-35f4-f8m9-w8xgnvdVendor Advisory
- metacpan.org/release/HMBRAND/DBI-1.650/changesnvdRelease Notes
News mentions
1- Perl Modules: Seven Vulnerabilities Disclosed, Affecting DBI, Crypt::DSA, and MoreVypr Intelligence · Jul 8, 2026