Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-15043 EUVD-2026-43654

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

Published Jul 14, 2026 · Updated Jul 14, 2026 · Assigned by CPANSec

Description

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.

Affected products

VendorProductAffectedFixed
HMBRAND DBI::SQL::Nano 1.42 – < 1.651 1.651

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libdbi-perl 1.651-1 —
Debian 13 libdbi-perl 1.652-2~deb13u1 —
Debian 12 libdbi-perl 1.643-4+deb12u2 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libdbi-perl No fix yet —
Ubuntu 26.04 LTS libdbi-perl No fix yet —
Ubuntu 24.04 LTS libdbi-perl No fix yet —
Ubuntu 22.04 LTS libdbi-perl No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS libdbi-perl No fix yet —
Ubuntu Pro 18.04 LTS libdbi-perl No fix yet —
Ubuntu Pro 16.04 LTS libdbi-perl No fix yet —
Ubuntu Pro 14.04 LTS libdbi-perl No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 perl-DBI 1.647.0-150600.12.18.1 SUSE-SU-2026:3415-1
SLES 15 SP6 perl-DBI 1.647.0-150600.12.18.1 SUSE-SU-2026:3415-1
SLES 15 SP5 perl-DBI 1.642-150200.3.19.1 SUSE-SU-2026:3283-1
SLES 15 SP4 perl-DBI 1.642-150200.3.19.1 SUSE-SU-2026:3283-1
SLES 12 SP5 perl-DBI 1.628-5.21.1 SUSE-SU-2026:3461-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 perl-DBI 1.647.0-160000.5.1 SUSE-SU-2026:22845-1
SLES for SAP 15 SP6 perl-DBI 1.647.0-150600.12.18.1 SUSE-SU-2026:3415-1
SLES for SAP 15 SP5 perl-DBI 1.642-150200.3.19.1 SUSE-SU-2026:3283-1
SLES for SAP 15 SP4 perl-DBI 1.642-150200.3.19.1 SUSE-SU-2026:3283-1
SLES 16.0 perl-DBI 1.647.0-160000.5.1 SUSE-SU-2026:22845-1
SLE Micro 6.2 perl-DBI 1.647.0-160000.5.1 SUSE-SU-2026:22926-1
SLE HPC 15 SP5 perl-DBI 1.642-150200.3.19.1 SUSE-SU-2026:3283-1
SLE HPC 15 SP4 perl-DBI 1.642-150200.3.19.1 SUSE-SU-2026:3283-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-DBI 1.651.0-1.1 openSUSE-SU-2026:11298-1
openSUSE Leap 16.0 perl-DBI 1.647.0-160000.5.1 openSUSE-SU-2026:21412-1
ReleasePackageFixed inAdvisory
Alpine v3.24 perl-dbi 1.651-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 perl-DBI +1 1.651-1.amzn2023.0.1 ALAS2023-2026-2006
Amazon Linux 2 perl-DBI 1.627-4.amzn2.0.6 ALAS2-2026-3851

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 perl-DBI 1.651-1 —

Advisories 10

References