Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-71393
Published:July 18, 2026
Updated:August 06, 2026
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.
Affected Packages
surrealdb (RUST):
Affected version(s) >=1.0.0-beta.1 <2.0.5
Fix Suggestion:
Update to version 2.0.5
surrealdb (RUST):
Affected version(s) >=2.1.0 <2.1.5
Fix Suggestion:
Update to version 2.1.5
surrealdb (RUST):
Affected version(s) >=2.2.0 <2.2.2
Fix Suggestion:
Update to version 2.2.2
Do you need more information?
Contact Us
CVSS v4
Base Score:
6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Uncontrolled Recursion
EPSS
Base Score:
0.25