CVE-2026-14740: One-byte out-of-bounds read in Perl DBI SQL preparse
- Vendor
- Perl
CVE-2026-14740 is a one-byte out-of-bounds read in Perl DBI versions before 1.650. The preparse method normalizes SQL and removes comments. When a statement begins with a comment line, deleting that line during normalization causes a read one byte outside the valid buffer bounds. This can trigger a fault on memory-hardened builds and nondeterministic newline retention on normal builds.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Affected applications can fault while processing SQL statements beginning with a comment, potentially causing denial of service on memory-hardened builds. On normal builds, SQL normalization can retain newlines nondeterministically. Arbitrary code execution or exploitable information disclosure is not established by the available technical details.
Mitigation
If you can’t patch tonight, do this now.
Remove initial SQL comments before passing statements to DBI so that the vulnerable initial-comment deletion path is not reached.
Remediation
Patch, then assume compromise.
Upgrade Perl DBI to version 1.650 or later, or install a distribution package containing the backported fix. For Debian stable (trixie), the security-fixed libdbi-perl package is version 1.652-2~deb13u1.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-14740 exploited in the wild?
- As of Nov 26, 2026, Mallory has no reports of CVE-2026-14740 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-14740?
- As of Nov 26, 2026, Mallory has found no public exploit for CVE-2026-14740.
- Is there a patch for CVE-2026-14740?
- Upgrade Perl DBI to version 1.650 or later, or install a distribution package containing the backported fix. For Debian stable (trixie), the security-fixed libdbi-perl package is version 1.652-2~deb13u1.
- What products are affected by CVE-2026-14740?
- Perl Dbi.
- How severe is CVE-2026-14740?
- CVE-2026-14740 has a CVSS v3.1 score of 9.1 (Critical) and an EPSS score of 0.66% (47th percentile) as of Nov 26, 2026.
Recent activity
25 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.