# CVE-2024-58365: SurrealDB before 1.2.0 Denial of Service via Nonexistent Function

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-02-21T00:03:06.000Z
- Modified: 2026-10-27T18:10:00.130Z
- Also known as: GHSA-6wr5-jmpr-mjcx
- Weaknesses: CWE-248
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- surrealdb surrealdb: before 1.2.0 (not affected: 1.2.0)
- surrealdb (crates.io): before 1.2.0

## Every score

- VulnCheck: CVSS:4.0 7.1 High `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`
- VulnCheck: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## 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)

## Sources

- CVE List: [CVE-2024-58365](https://www.cve.org/CVERecord?id=CVE-2024-58365), CVE Terms of Use, modified 2026-07-28
- GitHub Advisory Database: [GHSA-6wr5-jmpr-mjcx](https://github.com/advisories/GHSA-6wr5-jmpr-mjcx), CC-BY-4.0, modified 2026-07-19
- NVD: [CVE-2024-58365](https://nvd.nist.gov/vuln/detail/CVE-2024-58365), Public domain, modified 2026-10-27

---

Page: https://cve.day/CVE-2024-58365 · Whole record: https://cve.day/CVE-2024-58365.json · Rebuilt by cve.day 2026-11-25T22:58:53.050Z
