CVE-2026-15043
CVE-2026-15043 · DBI::SQL::Nano versions from 1.42 before 1.651 for Perl have inverted <= and >= SQL operators on text
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 9.8 · Critical · EPSS 0.4% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
dbi::sql::nano
- Versions
- ≥ 1.42, < 1.651: Affected (custom)
Update to 1.651
libdbi-perl Debian:12
- Versions
- 1.643-4
- 1.643-4+deb12u1
- Affected ranges
- ECOSYSTEM: < 1.643-4+deb12u2
Update to 1.643-4+deb12u2
libdbi-perl Debian:13
- Versions
- 1.647-1
- 1.647-1+deb13u1
- 1.648-1
- 1.649-1
- 1.650-1
- 1.651-1
- 1.652-1
- Affected ranges
- ECOSYSTEM: < 1.652-2~deb13u1
Update to 1.652-2~deb13u1
libdbi-perl Debian:14
- Versions
- 1.647-1
- 1.648-1
- 1.649-1
- 1.650-1
- Affected ranges
- ECOSYSTEM: < 1.651-1
Update to 1.651-1
libdbi-perl Ubuntu:Pro:14.04:LTS
- Versions
- 1.627-1
- 1.628-1
- 1.630-1
- 1.630-1ubuntu0.1~esm1
- 1.630-1ubuntu0.1~esm4
- 1.630-1ubuntu0.1~esm5
- 1.630-1ubuntu0.1~esm6
- 1.630-1ubuntu0.1~esm8
- 1.630-1ubuntu0.1~esm9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libdbi-perl Ubuntu:Pro:16.04:LTS
- Versions
- 1.633-1
- 1.634-1
- 1.634-1build1
- 1.634-1ubuntu0.1
- 1.634-1ubuntu0.2
- 1.634-1ubuntu0.2+esm1
- 1.634-1ubuntu0.2+esm2
- 1.634-1ubuntu0.2+esm4
- 1.634-1ubuntu0.2+esm5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libdbi-perl Ubuntu:Pro:18.04:LTS
- Versions
- 1.637-1
- 1.639-1
- 1.640-1
- 1.640-1ubuntu0.1
- 1.640-1ubuntu0.2
- 1.640-1ubuntu0.3
- 1.640-1ubuntu0.3+esm1
- 1.640-1ubuntu0.3+esm3
- 1.640-1ubuntu0.3+esm4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libdbi-perl Ubuntu:Pro:20.04:LTS
- Versions
- 1.642-1
- 1.642-1build1
- 1.643-1
- 1.643-1ubuntu0.1
- 1.643-1ubuntu0.1+esm1
- 1.643-1ubuntu0.1+esm3
- 1.643-1ubuntu0.1+esm4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libdbi-perl Ubuntu:22.04:LTS
- Versions
- 1.643-3build2
- 1.643-3build3
- 1.643-3ubuntu0.1
- 1.643-3ubuntu0.3
- 1.643-3ubuntu0.4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libdbi-perl Ubuntu:24.04:LTS
- Versions
- 1.643-4
- 1.643-4build1
- 1.643-4build2
- 1.643-4build3
- 1.643-4ubuntu0.1
- 1.643-4ubuntu0.3
- 1.643-4ubuntu0.4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libdbi-perl Ubuntu:26.10
- Versions
- 1.647-1build1
- 1.648-1
- 1.651-1
- 1.652-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libdbi-perl Ubuntu:26.04:LTS
- Versions
- 1.647-1
- 1.647-1build1
- 1.647-1ubuntu0.26.04.1
- 1.647-1ubuntu0.26.04.3
- 1.647-1ubuntu0.26.04.4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- 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
- http://www.openwall.com/lists/oss-security/2026/07/14/9
- https://nvd.nist.gov/vuln/detail/CVE-2026-15043