Back to overview

CVE-2026-15043

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.

Metadata

CVE ID
CVE-2026-15043
State
PUBLISHED
Assigner
CPANSec
Reserved
2026-07-08 11:48 UTC
Published
2026-07-14 09:44 UTC
Last updated
2026-07-14 11:30 UTC
Primary CWE
CWE-480
CWE-480 Use of Incorrect Operator
Vendor / Product
HMBRAND / DBI::SQL::Nano
Sources
cve.org  ·  NVD

Severity & Metrics

No CVSS data available.

Affected products (1)
VendorProductPlatformVersions
HMBRAND DBI::SQL::Nano 1.42 < 1.651
Weakness (CWE)
CWESourceDescription
CWE-480 cna CWE-480 Use of Incorrect Operator
Back to overview