Skip to content
CRACK.ORGSECURITY INTELLIGENCE
VULNERABILITY INTELLIGENCE / SOURCE RECORD

CVE-2025-71397

CVSS / severity7.1 · high
CISA KEVNot listed in local snapshot
EPSS / next 30 days0.41%2026-12-03

Source 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.

Published: 2026-07-18T14:17:11.220 · Modified: 2026-10-29T21:17:06.450

Products and platforms

surrealdb surrealdb — NVD affected-product configuration

Defensive action

Check the official advisory for affected versions and mitigation instructions. Patch availability is not established by the score.

Official sources

NVD record · CVE Program · FIRST EPSS methodology

Vendor advisory referenced by source

CVSS measures technical severity. EPSS estimates exploitation probability, not your individual exposure. A missing KEV listing is not proof of safety. Product configuration matches may include version and environment conditions.