{"id":"CVE-2026-14740","published":"2026-07-07T22:05:45Z","modified":"2026-07-08T13:59:33Z","title":"DBI versions before 1.650 for Perl read one byte out-of-bounds in preparse when deleting an initial SQL comment","vendor":"HMBRAND","product":"DBI","tier":"tail","description":{"text":"DBI versions before 1.650 for Perl read one byte out-of-bounds in preparse when deleting an initial SQL comment.\n\nThe 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00387,"percentile":0.33631,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/perl5-dbi/dbi/commit/fc16f9e8b3dd5c65caf1867781ab2bfe2fadcc01.patch","tags":["patch"]},{"url":"https://github.com/perl5-dbi/dbi/security/advisories/GHSA-35f4-f8m9-w8xg","tags":["vendor-advisory"]},{"url":"https://metacpan.org/release/HMBRAND/DBI-1.650/changes","tags":["release-notes"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/07/17","tags":[]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":6.73},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"hmbrand","affectedVersions":[{"vendor":"HMBRAND","product":"DBI","versions":["< 1.650"]}],"solutions":{"items":["Upgrade to DBI version 1.650 or later."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["Remove initial comments from SQL statements before passing them to DBI."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-08T13:58:06.622142Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-42125","exploited":false,"provenance":"source"}}