ALAS2023-2026-1982


Amazon Linux 2023 Security Advisory: ALAS2023-2026-1982
Advisory Released Date: 2026-07-20
Advisory Updated Date: 2026-07-20
Severity: Important

Issue Overview:

DBI versions before 1.650 for Perl are vulnerable to code injection via caller-influenced Profile.

When a string is assigned to a DBI handle's Profile attribute, DBI splits it into path, package and arguments, and interpolates the package part in a string eval with no validation of the package name.

Any caller-influenced value that reaches the Profile attribute is therefore arbitrary Perl code execution, including calls to run system commands.

The Profile attribute can be set from three different sources that can carry untrusted data: the DBI_PROFILE environment variable, a direct attribute assignment, and a DSN driver-attribute clause dbi:Driver(Profile=>SPEC):db.

An attacker controlling any of those inputs runs arbitrary Perl in the host process. The strongest remote position is a network-exposed DBI::Gofer / DBI::ProxyServer whose per-request DSN reaches the Profile attribute, letting a client execute code on the broker host. (CVE-2026-14380)

DBI versions before 1.650 for Perl have a heap overflow when preparsing SQL statements with an extreme number of placeholders.

The fix for CVE-2026-10879 did not allocate enough memory to handle approximately 1.2-million placeholders.

DBI version 1.650 sets a hard limit of 99,999 placeholders. (CVE-2026-14739)

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. (CVE-2026-14740)


Affected Packages:

perl-DBI


Issue Correction:
Run dnf update perl-DBI --releasever 2023.12.20260720 or dnf update --advisory ALAS2023-2026-1982 --releasever 2023.12.20260720 to update your system.
More information on how to update your system can be found on this page: Amazon Linux 2023 documentation

New Packages:
aarch64:
    perl-DBI-debugsource-1.650-1.amzn2023.0.1.aarch64
    perl-DBI-debuginfo-1.650-1.amzn2023.0.1.aarch64
    perl-DBI-tests-1.650-1.amzn2023.0.1.aarch64
    perl-DBI-1.650-1.amzn2023.0.1.aarch64

src:
    perl-DBI-1.650-1.amzn2023.0.1.src

x86_64:
    perl-DBI-debugsource-1.650-1.amzn2023.0.1.x86_64
    perl-DBI-debuginfo-1.650-1.amzn2023.0.1.x86_64
    perl-DBI-tests-1.650-1.amzn2023.0.1.x86_64
    perl-DBI-1.650-1.amzn2023.0.1.x86_64