SurrealDB versions before 2.2.2 contain a memory...
High severity
Unreviewed
Published
Jul 18, 2026
to the GitHub Advisory Database
•
Updated Jul 18, 2026
Description
Published by the National Vulnerability Database
Jul 18, 2026
Published to the GitHub Advisory Database
Jul 18, 2026
Last updated
Jul 18, 2026
SurrealDB versions before 2.2.2 contain a memory exhaustion vulnerability in the string::replace function that fails to restrict resulting string length when using regex patterns. An authenticated attacker can craft a malicious query to exhaust server memory through unbounded string allocations, causing denial of service.
References