{"id":"CVE-2024-58365","revision":"5c776a2f6e194c4982058d96d36d9a52","records":[{"revision":"5c776a2f6e194c4982058d96d36d9a52","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-58365","aliases":[],"title":"SurrealDB before 1.2.0 Denial of Service via Nonexistent Function","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.","state":0,"publishedAt":"2026-07-18T13:10:06.241+00:00","modifiedAt":"2026-07-28T01:47:51.921+00:00","affected":[{"ecosystem":"Vendor product","name":"surrealdb","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"surrealdb\",\n                    \"product\": \"surrealdb\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:cargo/surrealdb\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"1.2.0\"\n                        },\n                        {\n                            \"version\": \"1.2.0\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":7.1,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/surrealdb/surrealdb/security/advisories/GHSA-6wr5-jmpr-mjcx","https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-nonexistent-function"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-58365","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-58365","identifiers":["CVE-2024-58365"]},"retained":false,"historicalAffected":[]}],"coverage":[]}