| Name | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1141667 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libdbi-perl (PTS) | bullseye | 1.643-3 | vulnerable |
| bullseye (security) | 1.643-3+deb11u1 | vulnerable | |
| bookworm, bookworm (security) | 1.643-4+deb12u1 | vulnerable | |
| trixie (security), trixie | 1.647-1+deb13u1 | vulnerable | |
| forky, sid | 1.651-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libdbi-perl | source | (unstable) | 1.650-1 | 1141667 |
[trixie] - libdbi-perl <no-dsa> (Minor issue)
[bookworm] - libdbi-perl <postponed> (Minor issue)
[bullseye] - libdbi-perl <postponed> (Minor issue)
https://lists.security.metacpan.org/cve-announce/msg/41625532/
https://github.com/perl5-dbi/dbi/security/advisories/GHSA-35f4-f8m9-w8xg
Fixed by: https://github.com/perl5-dbi/dbi/commit/fc16f9e8b3dd5c65caf1867781ab2bfe2fadcc01 (1.650)