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.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.7%top 47.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Alpine:v3.24perl-dbi1.651-r0ALPINE-CVE-2026-15043
Debian:12libdbi-perl1.643-4+deb12u2DEBIAN-CVE-2026-15043
Debian:13libdbi-perl1.652-2~deb13u1DEBIAN-CVE-2026-15043
Debian:14libdbi-perl1.651-1DEBIAN-CVE-2026-15043
Ubuntu:22.04:LTSlibdbi-perlno fix listedUBUNTU-CVE-2026-15043
Ubuntu:24.04:LTSlibdbi-perlno fix listedUBUNTU-CVE-2026-15043
Ubuntu:26.04:LTSlibdbi-perlno fix listedUBUNTU-CVE-2026-15043
Ubuntu:26.10libdbi-perlno fix listedUBUNTU-CVE-2026-15043

Affected products (as reported)

VendorProductVersions
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