{"id":"CVE-2026-119376","kind":"vulnerability","aliases":["CVE-2026-119376"],"related":[],"title":"SQLite: chained COLLATE operators bypass depth limit and crash the process","description":"SQLite before 3.54.0 contains a stack exhaustion vulnerability that allows attackers to bypass the SQLITE_LIMIT_EXPR_DEPTH limit by chaining COLLATE postfix operators. Attackers can supply roughly 175,000 chained COLLATE operators in SQL or an untrusted database view to trigger unbounded recursion in sqlite3WalkExprNN() and crash the process.","summary":"SQLite before 3.54.0 fails to enforce its expression depth limit when COLLATE postfix operators are chained. An attacker who can supply about 175,000 chained COLLATE operators in SQL or an untrusted database view can exhaust the stack and crash the process.","severity":"medium","cvss":6.8,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["embedded","node","package","python","sqlite"],"not_affected_if":["no-untrusted-db-views","trusted-sql-only"],"how_to_check":"- Run `sqlite3 --version` or check the bundled SQLite version in your application dependencies\n- Look for applications that run SQL or open database views from untrusted sources","fix":"- SQLite: `3.54.0`","status":"open","published_at":"2026-10-30T12:16:36+00:00","first_seen_at":"2026-10-30T12:30:23+00:00","triaged_at":"2026-10-30T12:32:34+00:00","updated_at":"2026-10-30T12:32:34+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-30T12:32:34Z","model":"claude-haiku-5-5","output":{"fix":"- SQLite: `3.54.0`","reach":"unknown","title":"SQLite: chained COLLATE operators bypass depth limit and crash the process","impact":"low","summary":"SQLite before 3.54.0 fails to enforce its expression depth limit when COLLATE postfix operators are chained. An attacker who can supply about 175,000 chained COLLATE operators in SQL or an untrusted database view can exhaust the stack and crash the process.","audience":"developers","category":"package","nicknames":[],"who_cares":["sqlite","python","node","embedded"],"confidence":0.6,"fix_status":"available","needs_auth":"unknown","worst_case":"Denial of service: the process crashes from stack exhaustion","analyst_note":"Confirm which bindings and downstream packages bundle SQLite before 3.54.0 and whether any default configuration accepts untrusted SQL or views.","how_to_check":"- Run `sqlite3 --version` or check the bundled SQLite version in your application dependencies\n- Look for applications that run SQL or open database views from untrusted sources","plain_action":"","needs_analyst":true,"not_affected_if":["trusted-sql-only","no-untrusted-db-views"],"who_is_affected":"Applications that accept SQL text or open database files from untrusted sources and pass them to SQLite are exposed to a process crash. Applications that only run trusted, locally authored SQL are unlikely to be affected. unknown whether other conditions apply.","user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"unknown"},"cost_usd":0.000691,"input_tokens":4171,"output_tokens":547,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-119376':14A,17A '-2026':13A,16A '000':46B,94C '175':45B,93C '3.54.0':25B,67C 'allow':74C 'attack':40B,75C,89C 'bypass':5A,77C 'chain':2A,38B,47B,85C,95C 'collat':3A,34B,48B,86C,96C 'contain':68C 'crash':9A,62B,112C 'cve':12A,15A 'databas':55B,103C 'depth':6A,31B,82C 'embed':18B 'enforc':28B 'exhaust':58B,71C 'expr':81C 'express':30B 'fail':26B 'limit':7A,32B,80C,83C 'node':19B 'oper':4A,36B,49B,88C,97C 'packag':20B 'postfix':35B,87C 'process':11A,64B,114C 'python':21B 'recurs':108C 'rough':92C 'sql':51B,99C 'sqlite':1A,22B,23B,65C,79C 'sqlite3walkexprnn':110C 'stack':60B,70C 'suppli':43B,91C 'trigger':106C 'unbound':107C 'untrust':54B,102C 'view':56B,104C 'vulner':72C","nicknames":[],"mitigations":[],"who_affected":"Applications that accept SQL text or open database files from untrusted sources and pass them to SQLite are exposed to a process crash. Applications that only run trusted, locally authored SQL are unlikely to be affected. unknown whether other conditions apply.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"first_public_at":"2026-10-30T12:16:36+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-119376","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119376","severity":null,"published_at":"2026-10-30T12:16:36+00:00","modified_at":"2026-10-30T12:16:36+00:00","first_seen_at":"2026-10-30T12:30:23+00:00","fetched_at":"2026-10-30T12:30:23+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}