---
id: CVE-2024-58365
title: >-
  SurrealDB versions before 1.2.0 contain an uncaught exception vulnerability in
  the query executor when processing calls to nonexistent built-in functions
summary: >-
  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 …
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-248
published: '2026-07-18'
updated: '2026-07-18'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-58365'
references:
  - url: >-
      https://github.com/surrealdb/surrealdb/security/advisories/GHSA-6wr5-jmpr-mjcx
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-nonexistent-function
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-07-19T03:27:58.429Z'
epss: 0.0045
epssPercentile: 0.36608
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
