CVE Catalog

CVE-2025-71395

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.24%

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

Summary

Memory exhaustion vulnerability in SurrealDB before version 2.2.2 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, causing denial of service.

Risk Assessment

Risk includes unavailability of SurrealDB database due to memory exhaustion, potentially disrupting applications relying on this database.

Recommendation

Upgrade SurrealDB to version 2.2.2 or later and restrict user permissions to execute regex queries.

Other vulnerabilities in SurrealDB

See all
Original NVD description (English source)

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.

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