Surrealdb: Duplicate Advisory: Uncaught Exception in Macro Expecting Native Function to Exist
Description
SurrealDB versions before 1.2.0 have an uncaught exception vulnerability in the query executor. This occurs when authorized clients send queries that call nonexistent built-in functions, causing the server to panic and crash. The issue leads to a denial of service but does not impact confidentiality or integrity.
CVSS v3.1
Score 6.5medium
Affected software
pkg:github/surrealdb/surrealdbRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-58365 affects SurrealDB versions prior to 1.2.0. The vulnerability arises from the query executor not handling calls to nonexistent native functions properly, resulting in an uncaught exception that crashes the server. Authorized users can exploit this by crafting pre-parsed queries invoking these nonexistent functions, triggering a denial of service condition. The vulnerability has a CVSS v3.1 score of 6.5, indicating a high severity primarily due to availability impact. There is no indication of data compromise or integrity loss. This advisory is a duplicate of GHSA-6wr5-jmpr-mjcx and has been withdrawn to preserve references.
Potential Impact
The vulnerability allows authorized clients to cause a server crash by invoking nonexistent built-in functions in queries, resulting in denial of service. There is no impact on confidentiality or integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since this advisory is a duplicate and no patch links are provided, users should monitor official SurrealDB advisories for updates and apply any official fixes once available. Until then, restricting query inputs to prevent calls to nonexistent functions may reduce risk.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-9qjc-q7hw-vw5r
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2024-58365"]
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a5ba17e44ab8fbf7c789ba4
Added to database: 07/18/2026, 15:53:34 UTC
Last enriched: 09/12/2026, 11:02:17 UTC
Last updated: 10/16/2026, 06:48:10 UTC
Views: 99
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.