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 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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:perl:dbi:*:*:*:*:*:*:*:*

History

25 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Las versiones de DBI anteriores a la 1.650 para Perl leen un byte fuera de los límites en preparse al eliminar un comentario SQL inicial. El método preparse normaliza SQL y elimina comentarios. Cuando el SQL comienza con una línea de comentario, la eliminación de esa línea durante la normalización provocó una lectura fuera de los límites por un byte. El resultado es un fallo en compilaciones con protección de memoria y retención no determinista de saltos de línea en compilaciones normales.

10 Jul 2026, 14:40

Type Values Removed Values Added
References () https://github.com/perl5-dbi/dbi/commit/fc16f9e8b3dd5c65caf1867781ab2bfe2fadcc01.patch - () https://github.com/perl5-dbi/dbi/commit/fc16f9e8b3dd5c65caf1867781ab2bfe2fadcc01.patch - Patch
References () https://github.com/perl5-dbi/dbi/security/advisories/GHSA-35f4-f8m9-w8xg - () https://github.com/perl5-dbi/dbi/security/advisories/GHSA-35f4-f8m9-w8xg - Vendor Advisory
References () https://metacpan.org/release/HMBRAND/DBI-1.650/changes - () https://metacpan.org/release/HMBRAND/DBI-1.650/changes - Release Notes
References () http://www.openwall.com/lists/oss-security/2026/07/07/17 - () http://www.openwall.com/lists/oss-security/2026/07/07/17 - Mailing List, Patch, Third Party Advisory
First Time Perl
Perl dbi
CPE cpe:2.3:a:perl:dbi:*:*:*:*:*:*:*:*

08 Jul 2026, 14:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.1

08 Jul 2026, 01:16

Type Values Removed Values Added
References
  • () http://www.openwall.com/lists/oss-security/2026/07/07/17 -

07 Jul 2026, 23:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-07 23:16

Updated : 2026-10-25 20:10


NVD link : CVE-2026-14740

Mitre link : CVE-2026-14740

CVE.ORG link : CVE-2026-14740


JSON object : View

Products Affected

perl

  • dbi
CWE
CWE-125

Out-of-bounds Read