{"id":"CVE-2026-15043","aliases":["CVE-2026-15043"],"related":[],"kind":"vulnerability","state":"published","title":"DBI::SQL::Nano versions from 1.42 before 1.651 for Perl have inverted <= and >= SQL operators on text","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Las versiones de DBI::SQL::Nano desde la 1.42 anteriores a la 1.651 para Perl tienen invertidos los operadores SQL <= y >= en texto.\n\nDBI::SQL::Nano, el motor mini-SQL integrado de DBI, evaluó predicados WHERE incorrectamente en algunos casos. En la rama de cadena no numérica del método is_matched, <= se evaluó usando el operador ge de Perl, y >= se evaluó usando el operador le de Perl.\n\nSQL::Nano es el motor de consulta de respaldo para los controladores de DBI respaldados por archivos (DBD::File, DBD::DBM, controladores de estilo CSV) siempre que SQL::Statement no esté instalado, y se fuerza siempre que DBI_SQL_NANO=1. Las consultas sobre dichas tablas usan estos predicados directamente.\n\nEl impacto depende del contexto. Donde una aplicación depende de una cláusula WHERE para filtrar datos respaldados por archivos para políticas o autorización, una comparación <=/>= invertida devuelve silenciosamente las filas incorrectas.","source":"nvd"}],"published":"2026-07-14T09:44:25.733Z","modified":"2026-10-24T21:10:00.130Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-480"],"affected":[{"ranges":[{"type":"custom","introduced":"1.42","fixed":"1.651","status":"affected"}],"vendor":"HMBRAND","product":"DBI::SQL::Nano","package":"DBI","repo":"https://github.com/perl5-dbi/dbi","source":"cvelist"}],"references":[{"url":"https://github.com/perl5-dbi/dbi/security/advisories/GHSA-mv45-ff6j-x9jp","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://metacpan.org/release/HMBRAND/DBI-1.651/changes","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/perl5-dbi/dbi/commit/e9742ef85a75867cbd696860e3bf3e32b681f98d.patch","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/14/9","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-07-14T14:14:59.552Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-15043","url":"https://www.cve.org/CVERecord?id=CVE-2026-15043","licence":"CVE Terms of Use","modified":"2026-07-14T15:32:33.329Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-15043","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-15043","licence":"Public domain","modified":"2026-10-24T21:10:00.130Z"}],"updatedAt":"2026-11-25T22:59:27.887Z","epss":{"score":0.00671,"percentile":0.47078,"date":"2026-11-30T12:00:22.000Z"}}