Vulnerability · Published Jul 14, 2026 · Assigned by CPANSec
CVE-2026-15043DBI::SQL::Nano versions from 1.42 before 1.651 for Perl have inverted <= and >= SQL operators on text
Critical 9.8
In plain English
A critical-severity security flaw in DBI::SQL::Nano from HMBRAND. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | perl-dbi | 1.651-r0 | ALPINE-CVE-2026-15043 |
| Debian:12 | libdbi-perl | 1.643-4+deb12u2 | DEBIAN-CVE-2026-15043 |
| Debian:13 | libdbi-perl | 1.652-2~deb13u1 | DEBIAN-CVE-2026-15043 |
| Debian:14 | libdbi-perl | 1.651-1 | DEBIAN-CVE-2026-15043 |
| Ubuntu:22.04:LTS | libdbi-perl | no fix listed | UBUNTU-CVE-2026-15043 |
| Ubuntu:24.04:LTS | libdbi-perl | no fix listed | UBUNTU-CVE-2026-15043 |
| Ubuntu:26.04:LTS | libdbi-perl | no fix listed | UBUNTU-CVE-2026-15043 |
| Ubuntu:26.10 | libdbi-perl | no fix listed | UBUNTU-CVE-2026-15043 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| HMBRAND | DBI::SQL::Nano | 1.42 – before 1.651 |
Weakness: CWE-480 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- 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
- http://www.openwall.com/lists/oss-security/2026/07/14/9