Out-of-bounds Read Affecting perl-DBI package, versions <0:1.627-4.amzn2.0.4


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.39% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-PERLDBI-18059982
  • published21 Jul 2026
  • disclosed7 Jul 2026

Introduced: 7 Jul 2026

CVE-2026-14740  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 perl-DBI to version 0:1.627-4.amzn2.0.4 or higher.
This issue was patched in ALAS2-2026-3825.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-DBI package and not the perl-DBI package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1