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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libdbi-perl | 1.651-1 | — |
| Debian 13 | libdbi-perl | 1.652-2~deb13u1 | — |
| Debian 12 | libdbi-perl | 1.643-4+deb12u2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | perl-dbi | 1.651-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | perl-DBI | 1.651-1 | — |
Advisories 10
- WID-SEC-2026-3043 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 17, 2026
- ALAS2-2026-3851 Important: perl-DBI security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Aug 4, 2026
- SUSE-SU-2026:3461-1 Security update for perl-DBI SUSE / openSUSE Security Updates · Aug 4, 2026
- ALAS2023-2026-2006 Important: perl-DBI security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 4, 2026
- SUSE-SU-2026:3415-1 Security update for perl-DBI SUSE / openSUSE Security Updates · Jul 30, 2026
- SUSE-SU-2026:22926-1 Security update for perl-DBI SUSE / openSUSE Security Updates · Jul 29, 2026
- SUSE-SU-2026:22845-1 Security update for perl-DBI SUSE / openSUSE Security Updates · Jul 28, 2026
- SUSE-SU-2026:3283-1 Security update for perl-DBI SUSE / openSUSE Security Updates · Jul 28, 2026
- openSUSE-SU-2026:21412-1 Security update for perl-DBI SUSE / openSUSE Security Updates · Jul 24, 2026
- openSUSE-SU-2026:11298-1 perl-DBI-1.651.0-1.1 on GA media SUSE / openSUSE Security Updates · Jul 18, 2026