CVE-2026-15043DBI::SQL::Nano versions from 1.42 before 1.651 for Perl have inverted <= and >= SQL…
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.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libdbi-perl | Fix pending | UBUNTU-CVE-2026-15043 | |
| Ubuntu 26.04 | libdbi-perl | Under investigation | UBUNTU-CVE-2026-15043 | |
| Ubuntu 24.04 | libdbi-perl | Under investigation | UBUNTU-CVE-2026-15043 | |
| Ubuntu 22.04 | libdbi-perl | Under investigation | UBUNTU-CVE-2026-15043 | |
| Ubuntu 20.04 | libdbi-perl | Fix pending | UBUNTU-CVE-2026-15043 | |
| Ubuntu 18.04 | libdbi-perl | Fix pending | UBUNTU-CVE-2026-15043 | |
| Ubuntu 16.04 | libdbi-perl | Fix pending | UBUNTU-CVE-2026-15043 | |
| Ubuntu 14.04 | libdbi-perl | Fix pending | UBUNTU-CVE-2026-15043 | |
| Debian 14 | libdbi-perl | Fixed | 1.651-1 | DEBIAN-CVE-2026-15043 |
| Debian 13 | libdbi-perl | Fixed | 1.652-2~deb13u1 | DEBIAN-CVE-2026-15043 |
| Debian 12 | libdbi-perl | Fixed | 1.643-4+deb12u2 | DEBIAN-CVE-2026-15043 |
| Red Hat Enterprise Linux 10 | perl-DBI | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | perl-DBI | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | perl-DBI | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | perl-DBI | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | perl-DBI | Will not fix Out of support scope | ||
| Alpine Linux 3.24 | perl-dbi | Fixed | 1.651-r0 | ALPINE-CVE-2026-15043 |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- HMBRAND DBI::SQL::Nano: affected: 1.42 to before 1.651; fixed in
1.651
Solution: Upgrade to DBI 1.651 or later.
Workaround: For deployments that cannot upgrade, apply the patch or install SQL::Statement.
Vendor advisories:
- https://github.com/perl5-dbi/dbi/security/advisories/GHSA-mv45-ff6j-x9jp (vendor-advisory)
- https://metacpan.org/release/HMBRAND/DBI-1.651/changes (release-notes)
- https://github.com/perl5-dbi/dbi/commit/e9742ef85a75867cbd696860e3bf3e32b681f98d.patch (patch)
References
- https://github.com/perl5-dbi/dbi/security/advisories/GHSA-mv45-ff6j-x9jp
- https://metacpan.org/release/HMBRAND/DBI-1.651/changes
- https://github.com/perl5-dbi/dbi/commit/e9742ef85a75867cbd696860e3bf3e32b681f98d.patch
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.