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.
{
"cna_assigner": "CPANSec",
"cwe_ids": [
"CWE-125"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/14xxx/CVE-2026-14740.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:perl:dbi:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.650"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "fc16f9e8b3dd5c65caf1867781ab2bfe2fadcc01"
}
],
"source": "REFERENCES_COMMIT"
}
]
}