{"id":"CVE-2026-15043","state":"PUBLISHED","title":"DBI::SQL::Nano versions from 1.42 before 1.651 for Perl have inverted <= and >= SQL operators on text","description":"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.","publishedAt":"2026-07-14T09:44:25.733Z","updatedAt":"2026-07-14T15:32:33.329Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"CPANSec","products":["HMBRAND DBI::SQL::Nano"],"affected":[{"vendor":"HMBRAND","product":"DBI::SQL::Nano","packageName":"DBI","defaultStatus":"unaffected","versions":[{"version":"1.42","status":"affected","lessThan":"1.651","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/DBI/SQL/Nano.pm"],"programRoutines":[{"name":"DBI::SQL::Nano::is_matched"}],"repo":"https://github.com/perl5-dbi/dbi"}],"references":["https://github.com/perl5-dbi/dbi/security/advisories/GHSA-mv45-ff6j-x9jp","https://metacpan.org/release/HMBRAND/DBI-1.651/changes","https://github.com/perl5-dbi/dbi/commit/e9742ef85a75867cbd696860e3bf3e32b681f98d.patch","http://www.openwall.com/lists/oss-security/2026/07/14/9"],"weaknesses":["CWE-480"],"ingestedAt":"2026-10-29T20:11:00.674Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/15xxx/CVE-2026-15043.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-15043","state":"PUBLISHED","datePublished":"2026-07-14T09:44:25.733Z","dateUpdated":"2026-07-14T15:32:33.329Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-07-08T11:48:00.718Z"},"containers":{"cna":{"title":"DBI::SQL::Nano versions from 1.42 before 1.651 for Perl have inverted <= and >= SQL operators on text","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"HMBRAND","product":"DBI::SQL::Nano","packageName":"DBI","defaultStatus":"unaffected","versions":[{"version":"1.42","status":"affected","lessThan":"1.651","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/DBI/SQL/Nano.pm"],"programRoutines":[{"name":"DBI::SQL::Nano::is_matched"}],"repo":"https://github.com/perl5-dbi/dbi"}],"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"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-480","description":"CWE-480 Use of Incorrect Operator","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-07-14T15:32:33.329Z"},"solutions":[{"lang":"en","value":"Upgrade to DBI 1.651 or later."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2004-03-12T00:00:00.000Z","value":"Version 1.42 released with DBI::SQL::Nano."},{"lang":"en","time":"2026-07-10T00:00:00.000Z","value":"Patch that fixes DBI::SQL::Nano merged."},{"lang":"en","time":"2026-07-14T00:00:00.000Z","value":"Version 1.651 released."}],"workarounds":[{"lang":"en","value":"For deployments that cannot upgrade, apply the patch or install SQL::Statement."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/07/14/9"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-07-14T11:30:25.876Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-07-14T14:14:59.552000Z","id":"CVE-2026-15043","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-14T14:16:12.284Z"}}]}}}