CVE Catalog

CVE-2025-71393

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.25%

16th percentile - higher than 16% of all known CVEs

Summary

SurrealDB before version 2.2.2 with scripting enabled fails to properly enforce recursion limits when native functions contain embedded JavaScript that issues new queries. Authenticated attackers can bypass the recursion limit by chaining native and JavaScript function calls to trigger infinite recursion and exhaust server memory.

Risk Assessment

An attacker can exhaust server memory, leading to denial of service (DoS) and potential destabilization of the entire database system.

Recommendation

Immediately upgrade SurrealDB to version 2.2.2 or later, which includes a fix for recursion limit enforcement.

Other vulnerabilities in SurrealDB

See all
Original NVD description (English source)

SurrealDB before 2.2.2 with scripting enabled fails to properly enforce recursion limits when native functions contain embedded JavaScript that issues new queries. Authenticated attackers can bypass the recursion limit by chaining native and JavaScript function calls to trigger infinite recursion and exhaust server memory.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS