CVE-2026-119376
SQLite before 3.54.0 Stack Exhaustion via COLLATE Operator Chain
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.
Fixes and workarounds
Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: VulnCheckFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: VulnCheckFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: [email protected]Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: [email protected]Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| SQLite SQLite https://sqlite.org/ |
≥ 0; < 3.54.0 (affected, custom)
Other versions: unaffected |
CNA: VulnCheck |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
NVD applicability configurations (1)
These expressions retain AND/OR operators, negation, and required environmental products. A listed product is not sufficient to establish exposure when additional conditions apply.
[
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*",
"versionEndExcluding": "3.54.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
}
]CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 6.8 medium |
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 | CNA: VulnCheck |
| 3.1 / 5.5 medium |
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | CNA: VulnCheck |
| 4.0 / 6.8 medium |
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 | NVD: [email protected] |
| 3.1 / 5.5 medium |
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | NVD: [email protected] |
Exploit evidence
- https://sqlite.org/bugs/info/2026-10-04T04:50:56Z
exploit · ADP: CISA-ADP - https://abraxaslabs.tech/research/sqlite-collate-depth
exploit · [email protected]
References
- https://sqlite.org/bugs/info/2026-10-04T04:50:56ZCNA: VulnCheck · issue-tracking
- https://sqlite.org/src/info/252c0b7bf5a727d2CNA: VulnCheck · patch
- https://github.com/sqlite/sqlite/commit/d54522a5b832422ab893a1e9fa7a99ab314ea4e2CNA: VulnCheck · patch
- https://github.com/sqlite/sqlite/blob/version-3.53.4/src/expr.c#L175CNA: VulnCheck · technical-description
- https://sqlite.org/releaselog/3_54_0.htmlCNA: VulnCheck · release-notes
- https://abraxaslabs.tech/research/sqlite-collate-depthCNA: VulnCheck · third-party-advisory
- https://github.com/sqlite/sqliteCNA: VulnCheck · product
- https://www.vulncheck.com/advisories/sqlite-before-3.54.0-stack-exhaustion-via-collate-operator-chainCNA: VulnCheck · third-party-advisory
- https://sqlite.org/bugs/info/2026-10-04T04:50:56ZADP: CISA-ADP · exploit
- https://abraxaslabs.tech/research/sqlite-collate-depth[email protected] · Exploit, Third Party Advisory
- https://github.com/sqlite/sqlite[email protected] · Product
- https://github.com/sqlite/sqlite/blob/version-3.53.4/src/expr.c#L175[email protected] · Patch
- https://github.com/sqlite/sqlite/commit/d54522a5b832422ab893a1e9fa7a99ab314ea4e2[email protected] · Patch
- https://sqlite.org/bugs/info/2026-10-04T04:50:56Z[email protected] · Issue Tracking
- https://sqlite.org/releaselog/3_54_0.html[email protected] · Release Notes
- https://sqlite.org/src/info/252c0b7bf5a727d2[email protected] · Issue Tracking
- https://www.vulncheck.com/advisories/sqlite-before-3.54.0-stack-exhaustion-via-collate-operator-chain[email protected] · Third Party Advisory
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.