Vulnerability · Published Jul 7, 2026 · Assigned by CPANSec

CVE-2026-14740DBI versions before 1.650 for Perl read one byte out-of-bounds in preparse when deleting an initial SQL comment

Critical 9.1

In plain English

A critical-severity out-of-bounds read in DBI from HMBRAND. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)0.7%top 48.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.24perl-dbi1.651-r0ALPINE-CVE-2026-14740
Debian:12libdbi-perl1.643-4+deb12u2DEBIAN-CVE-2026-14740
Debian:13libdbi-perl1.652-2~deb13u1DEBIAN-CVE-2026-14740
Debian:14libdbi-perl1.650-1DEBIAN-CVE-2026-14740
Ubuntu:22.04:LTSlibdbi-perlno fix listedUBUNTU-CVE-2026-14740
Ubuntu:24.04:LTSlibdbi-perlno fix listedUBUNTU-CVE-2026-14740
Ubuntu:25.10libdbi-perlno fix listedUBUNTU-CVE-2026-14740
Ubuntu:26.04:LTSlibdbi-perlno fix listedUBUNTU-CVE-2026-14740
Ubuntu:26.10libdbi-perlno fix listedUBUNTU-CVE-2026-14740

Affected products (as reported)

VendorProductVersions
HMBRAND DBI 0 – before 1.650

Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

References