CVE-2025-71395

Published Jul 18, 2026 CWE-789

Description

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.

Is your site exposed to CVE-2025-71395?

Run a free security scan — no signup, results in seconds.

Weakness Type (CWE)

CWE-789 CWE-789

References

Frequently Asked Questions

What is CVE-2025-71395? +
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.
How do I check if I'm vulnerable to CVE-2025-71395? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-71395 — free, no signup required.