DBI versions before 1.650 for Perl read one byte out-of-bounds in preparse when deleting an initial SQL comment

Summary

CVECVE-2026-14740
StatePUBLISHED
AssignerCPANSec
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-07 23:16:54 UTC
Updated2026-07-10 14:40:21 UTC
DescriptionDBI 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.

Risk And Classification

Primary CVSS: v3.1 9.1 CRITICAL from ADP

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

EPSS: 0.004070000 probability, percentile 0.328290000 (date 2026-07-13)

Problem Types: CWE-125 | CWE-125 CWE-125 Out-of-bounds Read


VersionSourceTypeScoreSeverityVector
3.1ADPDECLARED9.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary9.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Perl Dbi All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA HMBRAND DBI affected 1.650 custom Not specified

References

ReferenceSourceLinkTags
metacpan.org/release/HMBRAND/DBI-1.650/changes 9b29abf9-4ab0-4765-b253-1875cd9b441e metacpan.org Release Notes
github.com/perl5-dbi/dbi/commit/fc16f9e8b3dd5c65caf1867781ab2bfe2fadcc01... 9b29abf9-4ab0-4765-b253-1875cd9b441e github.com Patch
www.openwall.com/lists/oss-security/2026/07/07/17 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Patch, Third Party Advisory
github.com/perl5-dbi/dbi/security/advisories/GHSA-35f4-f8m9-w8xg 9b29abf9-4ab0-4765-b253-1875cd9b441e github.com Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

Solutions

CNA: Upgrade to DBI version 1.650 or later.

Workarounds

CNA: Remove initial comments from SQL statements before passing them to DBI.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report