CVE-2025-71397Disclosure(surrealdb / surrealdb)

LOWCVSS 6.5 · MEDIUM

Signal is active with 2 mentions in latest observed window

Immediate actions

  • Track advisory updates for patch or workaround availability

Recommended action window: Monitor and triage in normal cycle

NVD description

SurrealDB before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before 2.2.2 allows authenticated users with OWNER or EDITOR permissions (at the root, namespace, or database level) to define custom database functions via DEFINE FUNCTION using nested FOR loops. Although a single loop's iteration count is constrained, nesting multiple loops (e.g., each with 1,000,000 iterations) is not, so an attacker can execute a function that consumes all server CPU time. Configured timeouts do not stop the execution, rendering the server unresponsive to other queries and connections until it is manually restarted.

0.0/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-835

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

NONE

Momentum

NONE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • surrealdb

Threat summary

  • 2 mentions across 1 observed day

What's happening

  • Technical details provided in 2 signals
  • Disclosure: 2 classified signals
  • 2 total mentions across 1 day

Affected systems

Vendors
Products
surrealdb

Deep dive

Activity timeline2 mentions / 1d
01122Mentions · 2026-07-18: 2Technical Details · 2026-07-18: 207-18
Signal classification1 categories
Disclosure
2100.0%
Referenced assets2 URLs
Full discourse2 posts
  • Vulmon Vulnerability Feed@VulmonFeeds
    Disclosure

    CVE-2025-71397 Denial of Service via Nested Loop Execution in SurrealDB Before 2.2.2 https://vulmon.com/vulnerabilitydetails?qid=CVE-2025-71397

    Post summary

    The post discloses a Denial of Service vulnerability in SurrealDB versions prior to 2.2.2, noting the technical mechanism but not providing PoC or exploitation evidence.

    00000110
    4.1K followersView on X
  • CVE@CVEnew
    Disclosure

    CVE-2025-71397 SurrealDB before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before 2.2.2 allows authenticated users with OWNER or EDITOR permissions (at the root, namespace, or database le… https://www.cve.org/CVERecord?id=CVE-2025-71397

    Post summary

    The excerpt announces a new CVE (CVE-2025-71397) affecting SurrealDB versions prior to 2.2.2, noting that authenticated users with elevated permissions can exploit the flaw, but does not provide evidence of exploitation, a PoC, or a patch.

    00000631
    57.8K followersView on X
CPE platform detail1 entries

1 of 1 entries

PartVendorProductVersionTarget SWTarget HW
Appsurrealdbsurrealdb---

Explore more