PatchSiren

PatchSiren cyber security CVE debrief

CVE-2025-71395 surrealdb CVE debrief

A memory exhaustion vulnerability exists in SurrealDB versions before 2.2.2 in the string::replace function. This vulnerability allows an authenticated attacker to craft a malicious query that can exhaust server memory through unbounded string allocations, causing a denial of service. The vulnerability has a high severity score and requires immediate attention from database administrators and security teams. They should verify affected versions, scope, and implement necessary controls to mitigate potential denial-of-service attacks.

Vendor
surrealdb
Product
Unknown
CVSS
HIGH 7.1
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-18
Original CVE updated
2026-10-08
Advisory published
2026-07-18
Advisory updated
2026-10-08

Who should care

Database administrators, security teams, and developers responsible for SurrealDB deployments should be aware of this vulnerability and take necessary actions to mitigate it. They should verify affected versions, scope, and implement necessary controls to prevent potential memory exhaustion and server crashes. This includes reviewing vendor guidance, monitoring server memory usage, and implementing compensating controls to detect and prevent malicious The

Why it matters

CVE-2025-71395 is a high-severity vulnerability in SurrealDB that can lead to denial-of-service attacks. Defenders should prioritize patching or mitigating this vulnerability to prevent potential memory exhaustion and server crashes. Database administrators and security teams responsible for SurrealDB deployments should verify affected versions, scope, and implement necessary controls.

  • Potential denial-of-service attacks
  • Memory exhaustion leading to server crashes
  • Need for patching or mitigating the vulnerability
  • Verification of affected versions and scope

Technical summary

The vulnerability exists in the string::replace function of SurrealDB versions before 2.2.2. An authenticated attacker can exploit this by crafting a malicious query that causes unbounded string allocations, leading to memory exhaustion and denial of service. This requires immediate attention from database administrators and security teams responsible for SurrealDB deployments. They should prioritize patching or mitigating this vulnerability to prevent potential denial-of-service attacks and server crashes. The technical details are based on CVE-2025-71395 and NVD records.

Defensive priority

Defenders should prioritize patching or mitigating this vulnerability to prevent potential denial-of-service attacks. This requires immediate attention from database administrators and security teams responsible for SurrealDB deployments.

Recommended defensive actions

  • Patch SurrealDB to version 2.2.2 or later
  • Restrict access to the string::replace function
  • Monitor server memory usage for anomalies
  • Implement compensating controls to detect and prevent malicious queries
  • Review and verify affected SurrealDB deployments in managed environments
  • Track exceptions and retest remediated assets after patching
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review

Evidence notes

The CVE description and NVD detail page provide information about the vulnerability. However, the exact scope of affected versions and potential impact requires verification from official sources. Defenders should verify the affected SurrealDB deployments, review vendor guidance, and monitor server memory usage for anomalies. The vulnerability details are based on CVE-2025-71395 and NVD records, but additional verification is necessary to ensure accurate understanding of the vulnerability's impact.

Sources and references

Verified primary and authoritative sources

  • CVE-2025-71395 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2025-71395

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2025-71395 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2025-71395

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://github.com/surrealdb/surrealdb/security/advisories/GHSA-3633-g6mg-p6qq

    [email protected] - Vendor Advisory

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/surrealdb-before-memory-exhaustion-via-string-replace

    [email protected] - Third Party Advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.