# CVE-2026-15043: DBI::SQL::Nano versions from 1.42 before 1.651 for Perl have inverted <= and >= SQL operators on text

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 47% of CVEs (2026-11-30)
- Published: 2026-07-14T09:44:25.733Z
- Modified: 2026-10-24T21:10:00.130Z
- Weaknesses: CWE-480
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- DBI: from 1.42 before 1.651

## 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>

## Sources

- CVE List: [CVE-2026-15043](https://www.cve.org/CVERecord?id=CVE-2026-15043), CVE Terms of Use, modified 2026-07-14
- NVD: [CVE-2026-15043](https://nvd.nist.gov/vuln/detail/CVE-2026-15043), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-15043 · Whole record: https://cve.day/CVE-2026-15043.json · Rebuilt by cve.day 2026-11-25T22:59:27.887Z
