CVEPublished 2026-07-18Modified 2026-07-210 articles on news4 live referencesNVD data

CVE-2025-71397

Vulnerability data via NVD (ingested)

CVSS v3.1
EPSS percentile
21
Exploit Prediction Scoring System · top 79% of all CVEs
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.

Timeline
Published 2026-07-18
Modified 2026-07-21

External references

Search for exposed instances

Shodan + Censys queries derived from NVD's CPE data. The vuln tag catches assets Shodan has explicitly linked to this CVE; the product / banner fingerprints find exposed instances even when the vuln tag was never applied (which is common). Live host counts are a Premium feature.

More intel sources (5)

Known PoCs on GitHub

No public proof-of-concept repositories found for CVE-2025-71397 on GitHub.
We haven't classified any articles referencing CVE-2025-71397 yet. The external references above still apply.