# CVE-2024-58361: SurrealDB before 2.0.4 Denial of Service via Parser Exception

- 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-10-08T22:20:02.000Z
- Modified: 2026-10-27T18:10:00.130Z
- Also known as: GHSA-qjrv-v6qp-x99x
- Weaknesses: CWE-248
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

SurrealDB versions before 2.0.4 contain an uncaught exception handling vulnerability in the parser error rendering code when processing empty strings. Authorized clients can execute malformed queries with empty string conversions to record, duration, or datetime types that cause a panic in error rendering, crashing the server.

(As written by CVE List.)

## Affected

- surrealdb surrealdb: from 2.0.0 before 2.0.4 (not affected: 2.0.4)
- surrealdb (crates.io): from 2.0.0 before 2.0.4
- surrealdb-core (crates.io): from 2.0.0 before 2.0.4

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

## References

- <https://github.com/surrealdb/surrealdb/security/advisories/GHSA-qjrv-v6qp-x99x> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-parser-exception> (third-party-advisory)
- <https://github.com/surrealdb/surrealdb/pull/4923> (web)
- <https://github.com/surrealdb/surrealdb/commit/709d6efe901dbf3e207b4fc2ebc30775595efc16> (web)
- <https://github.com/surrealdb/surrealdb> (package)

## Sources

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

---

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