SurrealDB before 3.1.0 Denial of Service via JSON Parser
cve-program · CVE-2026-63760
PublishedSurrealDB before 3.1.0 fails to enforce the configured recursion depth limit in the value and JSON parser when processing nested braces, brackets, or parentheses. Unauthenticated attackers can send deeply nested JSON payloads to the WebSocket /rpc endpoint to exhaust server memory and crash the process.
Read the publisher's advisoryeuvd · EUVD-2026-45931
PublishedSurrealDB before 3.1.0 fails to enforce the configured recursion depth limit in the value and JSON parser when processing nested braces, brackets, or parentheses. Unauthenticated attackers can send deeply nested JSON payloads to the WebSocket /rpc endpoint to exhaust server memory and crash the process.
Read the publisher's advisorynvd · CVE-2026-63760
PublishedSurrealDB before 3.1.0 fails to enforce the configured recursion depth limit in the value and JSON parser when processing nested braces, brackets, or parentheses. Unauthenticated attackers can send deeply nested JSON payloads to the WebSocket /rpc endpoint to exhaust server memory and crash the process.
Read the publisher's advisoryosv · GHSA-m464-hj36-96vx
Withdrawn## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-q729-696q-g9pq. This link is maintained to preserve external references. ## Original Description SurrealDB before 3.1.0 fails to enforce the configured recursion depth limit in the value and JSON parser when processing nested braces, brackets, or parentheses. Unauthenticated attackers can send deeply nested JSON payloads to the WebSocket /rpc endpoint to exhaust server memory and crash the process.
Read the publisher's advisoryosv · GHSA-q729-696q-g9pq
PublishedThe SurrealDB value and JSON parser did not enforce the configured recursion depth limit when parsing nested `{`, `[`, or `(` tokens. The expression parser already enforced the limit for these tokens; the value/JSON parser omitted it. An unauthenticated attacker could send a deeply nested JSON payload to the WebSocket `/rpc` endpoint and exhaust server memory, crashing the process. This is an incomplete fix for [GHSA-6r8p-hpg7-825g](https://github.com/surrealdb/surrealdb/security/advisories/GHSA-6r8p-hpg7-825g), which addressed the same class of bug in the expression parser but did not cover the value/JSON parser code path. ### Impact An unauthenticated remote attacker can crash a SurrealDB server with a single WebSocket message. No credentials or query execution privileges are required. ### Patches A patch enforces the configured recursion depth limit in `parse_value` and `parse_json`, bringing them in line with the rest of the parser. - Versions 3.1.0 and later are not affected by this issue. ### Workarounds Restrict network access to the WebSocket `/rpc` endpoint to trusted clients.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-63760 · CVE overview and exploitation status
cve-program · CVE-2026-63760
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-q729-696q-g9pq
- https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-json-parser
euvd · EUVD-2026-45931
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-q729-696q-g9pq
- https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-json-parser
nvd · CVE-2026-63760
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-q729-696q-g9pq
- https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-json-parser
osv · GHSA-m464-hj36-96vx
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-q729-696q-g9pq
- https://nvd.nist.gov/vuln/detail/CVE-2026-63760
- https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-json-parser
osv · GHSA-q729-696q-g9pq
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-q729-696q-g9pq
- https://nvd.nist.gov/vuln/detail/CVE-2026-63760
- https://github.com/surrealdb/surrealdb/commit/1bd9826f477f4089134460dc5574b6f4e6916973
- https://github.com/surrealdb/surrealdb
- https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-json-parser
Related changes
Linked by CVE identifierNo related changes are available here.