{"id":"CVE-2026-15043","published":"2026-07-14T09:44:25Z","modified":"2026-07-14T15:32:33Z","title":"DBI::SQL::Nano versions from 1.42 before 1.651 for Perl have inverted <= and >= SQL operators on text","vendor":"HMBRAND","product":"DBI::SQL::Nano","tier":"tail","description":{"text":"DBI::SQL::Nano versions from 1.42 before 1.651 for Perl have inverted <= and >= SQL operators on text.\n\nDBI::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.\n\nSQL::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.\n\nThe 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00671,"percentile":0.52975,"provenance":"source"},"cwes":[{"id":"CWE-480","name":"Use of Incorrect Operator"}],"references":[{"url":"https://github.com/perl5-dbi/dbi/security/advisories/GHSA-mv45-ff6j-x9jp","tags":["vendor-advisory"]},{"url":"https://metacpan.org/release/HMBRAND/DBI-1.651/changes","tags":["release-notes"]},{"url":"https://github.com/perl5-dbi/dbi/commit/e9742ef85a75867cbd696860e3bf3e32b681f98d.patch","tags":["patch"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/14/9","tags":[]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":10.6},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"hmbrand","affectedVersions":[{"vendor":"HMBRAND","product":"DBI::SQL::Nano","versions":[">= 1.42, < 1.651"]}],"solutions":{"items":["Upgrade to DBI 1.651 or later."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["For deployments that cannot upgrade, apply the patch or install SQL::Statement."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-14T14:14:59.552000Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-43654","exploited":false,"provenance":"source"}}