CVE-2026-15043: Inverted SQL Text Comparisons in Perl DBI::SQL::Nano
DBI::SQL::Nano versions from 1.42 before 1.651 incorrectly evaluate SQL <= and >= operators for non-numeric strings. In the non-numeric string branch of the is_matched method, <= uses Perl's ge operator and >= uses Perl's le operator, reversing the intended ordering. DBI::SQL::Nano is the fallback query engine for file-backed DBI drivers when SQL::Statement is unavailable and can also be explicitly forced. Affected WHERE predicates silently select incorrect rows, potentially undermining application filtering and authorization.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Affected queries can include rows that should be excluded and exclude rows that should be included. Applications that rely on these comparisons to enforce policy or authorization over file-backed data may expose unauthorized records or make incorrect access decisions. Security impact depends on the application's query logic and use of the returned rows; arbitrary code execution and memory corruption are not established for this vulnerability.
Mitigation
If you can’t patch tonight, do this now.
As a temporary workaround, avoid the vulnerable query engine by installing and using SQL::Statement with compatible file-backed drivers and ensuring DBI_SQL_NANO=1 is not set. Verify that queries actually use the alternative engine. Where switching engines is impractical, avoid relying on affected non-numeric <= or >= predicates for security decisions and independently enforce the intended comparisons before returning data or authorizing actions.
Remediation
Patch, then assume compromise.
Upgrade Perl DBI to version 1.651 or later, which corrects the inverted string comparisons, or install the distribution's security-fixed package. Alpine Linux identifies perl-dbi 1.651-r0 or later as fixed. For Debian stable (trixie), install libdbi-perl 1.652-2~deb13u1 or later.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-15043 exploited in the wild?
- As of Nov 26, 2026, Mallory has no reports of CVE-2026-15043 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-15043?
- As of Nov 26, 2026, Mallory has found no public exploit for CVE-2026-15043.
- Is there a patch for CVE-2026-15043?
- Upgrade Perl DBI to version 1.651 or later, which corrects the inverted string comparisons, or install the distribution's security-fixed package. Alpine Linux identifies perl-dbi 1.651-r0 or later as fixed.
- How severe is CVE-2026-15043?
- CVE-2026-15043 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 0.67% (47th percentile) as of Nov 26, 2026.
Recent activity
34 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.