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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| SQLite | SQLite | < 3.54.0 | 3.54.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | sqlite3 | No fix yet | — |
| Debian 13 | sqlite3 | No fix yet | — |
| Debian 12 | sqlite3 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | sqlite3 | No fix yet | — |
| Ubuntu 26.04 LTS | sqlite3 | No fix yet | — |
| Ubuntu 24.04 LTS | sqlite3 | No fix yet | — |
| Ubuntu 22.04 LTS | sqlite +1 | No fix yet | — |
| Ubuntu 20.04 LTS | sqlite | No fix yet | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | sqlite | No fix yet | — |
| Ubuntu 16.04 LTS | sqlite | No fix yet | — |
| Ubuntu 14.04 LTS | sqlite | No fix yet | — |
| Ubuntu Pro 20.04 LTS | sqlite3 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | sqlite3 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | sqlite3 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | sqlite3 | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | sqlite3 | 3.54.1-2.1 | openSUSE-SU-2026:12493-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | sqlite | No fix yet | — |
Advisories 2
- WID-SEC-2026-4260 SQLite: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 10, 2026
- openSUSE-SU-2026:12493-1 lemon-3.54.1-2.1 on GA media SUSE / openSUSE Security Updates · Nov 9, 2026
References
- https://sqlite.org/bugs/info/2026-10-04T04:50:56Z issue-tracking
- https://sqlite.org/src/info/252c0b7bf5a727d2 patch
- https://github.com/sqlite/sqlite/commit/d54522a5b832422ab893a1e9fa7a99ab314ea4e2 patch
- https://github.com/sqlite/sqlite/blob/version-3.53.4/src/expr.c#L175 technical-description
- https://sqlite.org/releaselog/3_54_0.html release-notes
- https://abraxaslabs.tech/research/sqlite-collate-depth third-party-advisory
- https://github.com/sqlite/sqlite product
- VulnCheck Advisory: SQLite before 3.54.0 Stack Exhaustion via COLLATE Operator Chain third-party-advisory