Technical impact
The vulnerability originates from an unbounded recursion in the val::Value serialization path of SurrealDB versions earlier than 3.3.0. When a deeply nested value is serialized, the recursion depth exceeds the process stack limit, causing a stack overflow that aborts the surreald service. This results in a denial of service that continuously prevents all database operations for every tenant.
Affected Systems
SurrealDB installations running any version prior to 3.3.0, regardless of the build type. All users who are authenticated and possess the ability to issue UPDATE statements that embed a stored array within itself or otherwise create deeply nested structures are potentially affected.
Risk and Exploitability
The CVSS score of 7.1 places this issue in the Medium to High severity range. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers must be authenticated and have permission to execute UPDATE operations that nest a stored array within itself, then issue a SELECT or EXPORT. Once triggered, the service is irrecoverably stopped until a restart, causing a persistent outage for all tenants.