CVE-2026-14740: DBI versions before 1.650 for Perl read one byte out-of-bounds in preparse when deleting an initial SQL commen
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 score | 9.1 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.7% (top 49%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2026-07-07 |
| Last modified | 2026-10-25 |
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
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
Related CVEs
- CVE-2026-14739 CRITICAL 9.8 UPGRADE DBI versions before 1.650 for Perl have a heap overflow when preparsing SQL statements with an extreme number
- CVE-2026-14380 HIGH 8.8 UPGRADE DBI versions before 1.650 for Perl are vulnerable to code injection via caller-influenced Profile. When a str