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.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| SQLite | SQLite | < 3.54.0 |
References
- https://abraxaslabs.tech/research/sqlite-collate-depthExploit, Third Party Advisory
- https://github.com/sqlite/sqliteProduct
- https://github.com/sqlite/sqlite/blob/version-3.53.4/src/expr.c#L175Patch
- https://github.com/sqlite/sqlite/commit/d54522a5b832422ab893a1e9fa7a99ab314ea4e2Patch
- https://sqlite.org/bugs/info/2026-10-04T04:50:56ZIssue Tracking
- https://sqlite.org/releaselog/3_54_0.htmlRelease Notes
- https://sqlite.org/src/info/252c0b7bf5a727d2Issue Tracking
- https://www.vulncheck.com/advisories/sqlite-before-3.54.0-stack-exhaustion-via-collate-operator-chainThird Party Advisory
- https://sqlite.org/bugs/info/2026-10-04T04:50:56ZIssue Tracking
Timeline
- Published
- Oct 30, 2026
- Last modified
- Nov 4, 2026
- NVD status
- Modified