ALAS2023-2026-2006


Amazon Linux 2023 Security Advisory: ALAS2023-2026-2006
Advisory Released Date: 2026-08-04
Advisory Updated Date: 2026-08-04
Severity: Important

Issue Overview:

DBI::SQL::Nano versions from 1.42 before 1.651 for Perl have inverted <= and >= SQL operators on text.

DBI::SQL::Nano, DBI's built-in mini-SQL engine, evaluated WHERE predicates incorrectly in some cases. In the non-numeric string branch of the is_matched method, <= was evaluated using Perl's ge operator, and >= was evaluated using Perl's le operator.

SQL::Nano is the fallback query engine for DBI's file-backed drivers (DBD::File, DBD::DBM, CSV-style drivers) whenever SQL::Statement is not installed, and is forced whenever DBI_SQL_NANO=1. Queries over such tables use these predicates directly.

The impact depends on the context. Where an application relies on a WHERE clause to filter file-backed data for policy or authorization, an inverted <=/>= comparison silently returns the wrong rows. (CVE-2026-15043)

DBD::File versions before 1.651 for Perl do not ensure the table file is not a symlink to an untrusted location.

The complete_table_name method builds the absolute table file path without checking whether the file is a symbolic link. A link inside the data directory can point to a table file at any path outside of the configured f_dir and f_dir_search directories.

Callers of file-based drivers can read or write files outside of the data directory. (CVE-2026-15392)

DBI::ProfileData versions before 1.651 for Perl do not limit the path index.

The path index column of profile dump files is used to allocate an array of data for the parser. An unbounded value allows an attacker to specify a large index and consume available memory. (CVE-2026-60081)

DBI versions before 1.651 for Perl do not enforce statement handle consistency with the row.

When the statement handle had no fields but the source row was non-empty, the internal row-buffer helper would read from a negative array index.

This could be triggered by a caller supplying inconsistent metadata and rows to the prepare method. (CVE-2026-60082)


Affected Packages:

perl-DBI


Issue Correction:
Run dnf update perl-DBI --releasever 2023.12.20260803 or dnf update --advisory ALAS2023-2026-2006 --releasever 2023.12.20260803 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.651-1.amzn2023.0.1.aarch64
    perl-DBI-debuginfo-1.651-1.amzn2023.0.1.aarch64
    perl-DBI-tests-1.651-1.amzn2023.0.1.aarch64
    perl-DBI-1.651-1.amzn2023.0.1.aarch64

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

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