CVE-2026-14740
DBI: DBI for Perl: Out-of-bounds read in SQL comment processing
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 8, 2026
Updated · July 16, 2026
Description
A flaw was found in DBI for Perl. When processing SQL queries, the preparse method, which normalizes SQL and removes comments, can read one byte beyond its intended memory boundary. This occurs specifically when an SQL query begins with a comment line, leading to an out-of-bounds read during the comment deletion process. This issue may cause a program fault on systems with memory hardening or result in unpredictable newline retention in other environments.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
CWE-125 · Out-of-bounds Read