Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

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

53
This month
CRITICAL 9.1REMOTEUPGRADE

CVE-2026-14740 is a critical-severity flaw (CVSS 9.1) affecting dbi. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Critical severity
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.1 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.7% (top 49%)
CISA exploited listNo
WeaknessCWE-125
Published2026-07-07
Last modified2026-10-25
Publisher (CNA): CPANSec · Vendor: perl

Share: LinkedIn · X · Reddit

Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

perl dbi UPGRADE
Affected: < 1.650
Fixed in: 1.650
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy dbi || rpm -q dbi || dbi --version
2. UPGRADE to 1.650 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade dbi
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade dbi
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.

Exact fixes by distribution

Fedora 46 · python-apprise · FIXED · 2.1.0-1.fc46 · FEDORA-2026-ef67a72c5d · source
sudo dnf upgrade --advisory=FEDORA-2026-ef67a72c5d
Debian 12 · libdbi-perl · FIXED · 1.643-4+deb12u2
sudo apt update && sudo apt install --only-upgrade libdbi-perl dpkg --compare-versions "$(dpkg-query -W -f='${Version}' libdbi-perl)" ge "1.643-4+deb12u2" && echo PATCHED || echo STILL-VULNERABLE
Debian 13 · libdbi-perl · FIXED · 1.652-2~deb13u1
sudo apt update && sudo apt install --only-upgrade libdbi-perl dpkg --compare-versions "$(dpkg-query -W -f='${Version}' libdbi-perl)" ge "1.652-2~deb13u1" && echo PATCHED || echo STILL-VULNERABLE
RHEL 10 · perl-DBI · DEFERRED
RHEL 6 · perl-DBI · DEFERRED
RHEL 7 · perl-DBI · DEFERRED
RHEL 8 · perl-DBI · DEFERRED
RHEL 8 · perl-DBI:1.641/perl-DBI · DEFERRED
Alpine 3.24 · perl-dbi · FIXED · perl-dbi-1.651-r0
apk add --upgrade perl-dbi apk info -v perl-dbi
Amazon Linux 2023 · see advisory · FIXED · ALAS2023-2026-1982 · source
sudo dnf update --advisory=ALAS2023-2026-1982
Amazon Linux 2 · see advisory · FIXED · ALAS2-2026-3825 · source
sudo yum update --advisory=ALAS2-2026-3825

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-14740?

dbi: upgrade to 1.650. Exact commands for each OS are on this page.

Is CVE-2026-14740 being exploited?

CVE-2026-14740 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-14740 affect?

CVE-2026-14740 affects dbi. Severity is critical (CVSS 9.1). 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 du

How urgent is CVE-2026-14740?

Priority 53/100. Critical severity; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action

Software pages

Perl vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.