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

[CVE catalog]

Severity
Critical · CVSS 9.1CVSS: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.

DistributionPackageReleaseVersionStatus
Debianlibdbi-perlsid1.656-1fixed
Debianlibdbi-perlforky1.656-1fixed
Debianlibdbi-perltrixie1.652-2~deb13u1fixed
Debianlibdbi-perltrixie-security1.652-2~deb13u1fixed
Debianlibdbi-perlbookworm1.643-4+deb12u1vulnerable
Debianlibdbi-perlbookworm-security1.643-4+deb12u3fixed
Cpelibdbi-perlNot reportedNot reportedvulnerable
CpedbiNot reported1.650fixed
Alpineperl-dbi3.241.651-r0fixed
CpedbiNot reported1.650fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibdbi-perlsourcesid1.650-1not yet assignedNot reported[1141667]
Debianlibdbi-perlsourceforky1.650-1not yet assignedNot reported[1141667]
Debianlibdbi-perlsourcetrixie1.652-2~deb13u1not yet assignedNot reported[1141667]
Debianlibdbi-perlsourcebookworm1.643-4+deb12u2not yet assignedNot reported[1141667]
CpedbicpeNot reported1.650Not reportedNot reportedNot reported
Alpineperl-dbiapk3.241.651-r0Not reportedALPINE-CVE-2026-14740Not reported
CpedbicpeNot reported1.650Not reportedNVD-CVE-2026-14740Not reported

[Debian bug #1141667]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libdbi-perl]Affected
    Details (4)
    • 1.643-4+deb12u1 · amd64 · bookworm

      Affected · Fixed: 1.643-4+deb12u2

      nvd · libdbi-perl · debian · bookworm; nvd · libdbi-perl · debian · 12

    • 1.643-4+deb12u1 · arm64 · bookworm

      Affected · Fixed: 1.643-4+deb12u2

      nvd · libdbi-perl · debian · bookworm; nvd · libdbi-perl · debian · 12

    • 1.643-4+deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 1.643-4+deb12u2

      nvd · libdbi-perl · debian · bookworm; nvd · libdbi-perl · debian · 12

    • 1.643-4+deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 1.643-4+deb12u2

      nvd · libdbi-perl · debian · bookworm; nvd · libdbi-perl · debian · 12

[Debian 13 (Trixie)]

  • [libdbi-perl]Affected
    Details (5)
    • 1.647-1+deb13u1 · amd64 · trixie

      Affected · Fixed: 1.652-2~deb13u1

      nvd · libdbi-perl · debian · 13

    • 1.647-1+deb13u1 · arm64 · trixie

      Affected · Fixed: 1.652-2~deb13u1

      nvd · libdbi-perl · debian · 13

    • 1.647-1+deb13u1 · amd64 · trixie-security · Historical version

      Affected · Fixed: 1.652-2~deb13u1

      nvd · libdbi-perl · debian · 13

    • 1.652-2~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 1.652-2~deb13u1

      nvd · libdbi-perl · debian · 13

    • 1.652-2~deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 1.652-2~deb13u1

      nvd · libdbi-perl · debian · 13

Observed:

References