CVE-2024-58365
HIGH 7.1CVSS 4.0Uncaught Exception in Macro Expecting Native Function to Exist
SurrealDB versions before 1.2.0 contain an uncaught exception vulnerability in the query executor when processing calls to nonexistent built-in functions. Authorized clients can craft pre-parsed queries invoking nonexistent functions to trigger a panic that crashes the server.
- Published
- 18 Jul 2026
- Last modified
- 27 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-248
- Also known as
- GHSA-6wr5-jmpr-mjcx
- Sources
- NVDJSONOSV GHSA-6wr5-jmpr-mjcxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 7.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/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 | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | surrealdb | surrealdbcpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* |
< 1.2.0 | 1.2.0 |
| OSV | crates.io | surrealdb | < 1.2.0 | 1.2.0 |
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-6wr5-jmpr-mjcx · Vendor Advisory, WEB
- https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-nonexistent-function · Third Party Advisory
- https://github.com/surrealdb/surrealdb/pull/3454 · WEB
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65755 · WEB
- https://github.com/surrealdb/surrealdb · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 18 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Feb 2024)