---
id: CVE-2026-119376
title: SQLite before 3.54.0 Stack Exhaustion via COLLATE Operator Chain
summary: >-
  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…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-674
vendor: SQLite
product: SQLite
affected:
  - SQLite < 3.54.0
published: '2026-10-30'
updated: '2026-10-30'
sourceUpdated: '2026-10-30T11:30:41.213Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-119376'
references:
  - url: 'https://sqlite.org/bugs/info/2026-10-04T04:50:56Z'
  - url: 'https://sqlite.org/src/info/252c0b7bf5a727d2'
  - url: >-
      https://github.com/sqlite/sqlite/commit/d54522a5b832422ab893a1e9fa7a99ab314ea4e2
  - url: 'https://github.com/sqlite/sqlite/blob/version-3.53.4/src/expr.c#L175'
  - url: 'https://sqlite.org/releaselog/3_54_0.html'
  - url: 'https://abraxaslabs.tech/research/sqlite-collate-depth'
  - url: 'https://github.com/sqlite/sqlite'
  - url: >-
      https://www.vulncheck.com/advisories/sqlite-before-3.54.0-stack-exhaustion-via-collate-operator-chain
    label: >-
      VulnCheck Advisory: SQLite before 3.54.0 Stack Exhaustion via COLLATE
      Operator Chain
tags:
  - cve.org
epss: 0.00157
epssPercentile: 0.04816
ingestedAt: '2026-11-03T10:42:03.637Z'
---

## Overview

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.

## Affected

- `SQLite < 3.54.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
