CVE-2026-15043 Details
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.
A vulnerability exists in DBI::SQL::Nano, the mini-SQL engine for Perl's DBI, in versions 1.42 prior to 1.651. The issue arises from incorrect evaluation of text-based SQL comparison operators in the 'is_matched' method. Specifically, the 'less than or equal to' operator was evaluated using the 'greater than or equal to' operator, and vice versa for the 'greater than or equal to' operator. This flaw can lead to incorrect query results, particularly in applications that use these comparisons to filter data for policy or authorization purposes.
Users can update to DBI::SQL::Nano version 1.651, which corrects the operator inversion issue. Instructions for updating can be found in the DBI repository on GitHub.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 14, 2026CISA-ADP
Assessed Jul 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/perl5-dbi/dbi/commit/e9742ef85a75867cbd696860e3bf3e32b681f98d.patch | CPANSec | Source CodeVendor |
| https://github.com/perl5-dbi/dbi/security/advisories/GHSA-mv45-ff6j-x9jp | CPANSec | AdvisoryRemedyVendor |
| https://metacpan.org/release/HMBRAND/DBI-1.651/changes | CPANSec | |
| http://www.openwall.com/lists/oss-security/2026/07/14/9 | CVE |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-480 | Use of Incorrect Operator | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| DBI::SQL::Nano | >= 1.42, < 1.651 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 24, 2026 | CVE Translated | [email protected] |
| Jul 14, 2026 | CVE Modified | CPANSec |
| Jul 14, 2026 | CVE Modified | CISA-ADP |
| Jul 14, 2026 | CVE Modified | CVE |
| Jul 14, 2026 | New CVE Received | CPANSec |
Volerion