Critical severity · published Jul 7, 2026
CVE-2026-14740
DBI versions before 1.650 for Perl read one byte out-of-bounds in preparse when deleting an initial SQL comment
9.1
CVSS
0.7%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 51% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DB
DBI · HMBRAND
before 1.650 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-14740
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-14740
Patch
https://github.com/perl5-dbi/dbi/commit/fc16f9e8b3dd5c65caf1867781ab2bfe2fadcc01.patch
Vendor Advisory
https://github.com/perl5-dbi/dbi/security/advisories/GHSA-35f4-f8m9-w8xg
Release Notes
https://metacpan.org/release/HMBRAND/DBI-1.650/changes
Mailing List
http://www.openwall.com/lists/oss-security/2026/07/07/17
More from DBI
9.8
CVE-2026-14739
DBI versions before 1.650 for Perl have a heap overflow when preparsing SQL statements with an extreme number of placeholders
9.8
CVE-2026-9698
DBI versions before 1.648 for Perl saved errors in a limited-sized buffer
9.8
CVE-2026-10879
DBI versions before 1.648 for Perl have a heap overflow when preparsing SQL statements with more than 9 binders
9.1
CVE-2026-60082
DBI versions before 1.651 for Perl do not enforce statement handle consistency with the row
