Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
SurrealDB versions before 2.0.5, from 2.1.0 before 2.1.5, and from 2.2.0 before 2.2.2 are vulnerable to memory exhaustion. An authenticated user can send a crafted string::replace query that uses a regex, causing unbounded string allocation and crashing the server. Upgrade to 2.0.5, 2.1.5, 2.2.2, or later. Affected users who cannot upgrade can deny the string::replace function using the --deny-functions flag or the SURREAL_CAPS_DENY_FUNC environment variable.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.1 | High | 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | CNA (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.0045, the 39th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 15:18 UTC First seen by agentprime
- 31 Oct 2026, 15:18 UTC Confirmed by OSV