
CVE catalog
CVE-2026-14740
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 co
- Severity
- Critical · CVSS 9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.66% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libdbi-perl | sid | 1.656-1 | fixed |
| Debian | libdbi-perl | forky | 1.656-1 | fixed |
| Debian | libdbi-perl | trixie | 1.652-2~deb13u1 | fixed |
| Debian | libdbi-perl | trixie-security | 1.652-2~deb13u1 | fixed |
| Debian | libdbi-perl | bookworm | 1.643-4+deb12u1 | vulnerable |
| Debian | libdbi-perl | bookworm-security | 1.643-4+deb12u3 | fixed |
| Cpe | libdbi-perl | Not reported | Not reported | vulnerable |
| Cpe | dbi | Not reported | 1.650 | fixed |
| Alpine | perl-dbi | 3.24 | 1.651-r0 | fixed |
| Cpe | dbi | Not reported | 1.650 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libdbi-perl | source | sid | 1.650-1 | not yet assigned | Not reported | [1141667] |
| Debian | libdbi-perl | source | forky | 1.650-1 | not yet assigned | Not reported | [1141667] |
| Debian | libdbi-perl | source | trixie | 1.652-2~deb13u1 | not yet assigned | Not reported | [1141667] |
| Debian | libdbi-perl | source | bookworm | 1.643-4+deb12u2 | not yet assigned | Not reported | [1141667] |
| Cpe | dbi | cpe | Not reported | 1.650 | Not reported | Not reported | Not reported |
| Alpine | perl-dbi | apk | 3.24 | 1.651-r0 | Not reported | ALPINE-CVE-2026-14740 | Not reported |
| Cpe | dbi | cpe | Not reported | 1.650 | Not reported | NVD-CVE-2026-14740 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libdbi-perl]Affected
Details (4)
1.643-4+deb12u1· amd64 · bookwormAffected · Fixed:
1.643-4+deb12u2nvd · libdbi-perl · debian · bookworm; nvd · libdbi-perl · debian · 12
1.643-4+deb12u1· arm64 · bookwormAffected · Fixed:
1.643-4+deb12u2nvd · libdbi-perl · debian · bookworm; nvd · libdbi-perl · debian · 12
1.643-4+deb12u2· amd64 · bookworm-securityFixed · Fixed:
1.643-4+deb12u2nvd · libdbi-perl · debian · bookworm; nvd · libdbi-perl · debian · 12
1.643-4+deb12u2· arm64 · bookworm-securityFixed · Fixed:
1.643-4+deb12u2nvd · libdbi-perl · debian · bookworm; nvd · libdbi-perl · debian · 12
[Debian 13 (Trixie)]
- [libdbi-perl]Affected
Details (5)
1.647-1+deb13u1· amd64 · trixieAffected · Fixed:
1.652-2~deb13u1nvd · libdbi-perl · debian · 13
1.647-1+deb13u1· arm64 · trixieAffected · Fixed:
1.652-2~deb13u1nvd · libdbi-perl · debian · 13
1.647-1+deb13u1· amd64 · trixie-security · Historical versionAffected · Fixed:
1.652-2~deb13u1nvd · libdbi-perl · debian · 13
1.652-2~deb13u1· amd64 · trixie-securityFixed · Fixed:
1.652-2~deb13u1nvd · libdbi-perl · debian · 13
1.652-2~deb13u1· arm64 · trixie-securityFixed · Fixed:
1.652-2~deb13u1nvd · libdbi-perl · debian · 13
Observed:
References
- [http://www.openwall.com/lists/oss-security/2026/07/07/17]
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_3461-1.json]
- [https://github.com/perl5-dbi/dbi/commit/fc16f9e8b3dd5c65caf1867781ab2bfe2fadcc01.patch]
- [https://github.com/perl5-dbi/dbi/security/advisories/GHSA-35f4-f8m9-w8xg]
- [https://metacpan.org/release/HMBRAND/DBI-1.650/changes]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-14740]
- [https://osv.dev/vulnerability/ALPINE-CVE-2026-14740]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-14740]
- [https://security-tracker.debian.org/tracker/CVE-2026-14740]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-14740.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]