CVE-2025-71397

MEDIUMNVD 6.56.5
EchelonGraph scoreMEDIUM confidence

Score 6.5 from GitHub Security Advisory (severity: HIGH) published 2026-07-18. NVD baseline CVSS 6.5; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, nvd
Trending — 3 sources updated this week
6.5EG
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 6.5Exploit: None knownExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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.

CVSS v3
6.5
EG Score
6.5(medium)
EG Risk
29(Track)
EG Risk 29/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity65% × 45%
Exploitation0% × 40%
Automatability0% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
24%
KEV
Not listed

Published

July 18, 2026

Last Modified

August 13, 2026

Advisory Details (2)

Auto-updated Jul 18, 2026
Patch available. Sources: github.
generic

SurrealDB before 2.2.2 CPU Exhaustion via nested FOR loops | Advisories | VulnCheck

https://www.vulncheck.com/advisories/surrealdb-before-cpu-exhaustion-via-nested-for-loops
github Patch Available

CPU exhaustion via custom functions result in total DoS · Advisory · surrealdb/surrealdb · GitHub

https://github.com/surrealdb/surrealdb/security/advisories/GHSA-pxw4-94j3-v9pf

Vendor Advisories for CVE-2025-71397(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Affected Packages

(1 across 1 ecosystem)
crates.io(1)
PackageVulnerable rangeFixed inDependents
surrealdb2.0.5

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 15× in last 7d / 60× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 180 total refreshes for this CVE.

  1. 2026-09-18 19:27 UTCEPSS rescore
  2. 2026-09-18 09:49 UTCEG score recompute
  3. 2026-09-18 09:49 UTCGHSA enrichment
  4. 2026-09-17 19:30 UTCEPSS rescore
  5. 2026-09-17 10:13 UTCEG score recompute
  6. 2026-09-17 10:13 UTCGHSA enrichment
  7. 2026-09-16 14:07 UTCEPSS rescore
  8. 2026-09-16 05:14 UTCEPSS rescore
  9. 2026-09-15 03:10 UTCEPSS rescore
  10. 2026-09-14 02:53 UTCEG score recompute
  11. 2026-09-14 02:52 UTCGHSA enrichment
  12. 2026-09-13 16:46 UTCEPSS rescore
  13. 2026-09-13 04:31 UTCEG score recompute
  14. 2026-09-13 04:31 UTCGHSA enrichment
  15. 2026-09-12 15:00 UTCEPSS rescore
  16. 2026-09-11 21:03 UTCEG score recompute
  17. 2026-09-11 21:03 UTCGHSA enrichment
  18. 2026-09-11 14:52 UTCEPSS rescore
  19. 2026-09-11 09:36 UTCEPSS rescore
  20. 2026-09-10 09:34 UTCEPSS rescore
  21. 2026-09-08 22:00 UTCEPSS rescore
  22. 2026-09-07 23:58 UTCEG score recompute
  23. 2026-09-07 23:58 UTCGHSA enrichment
  24. 2026-09-07 16:00 UTCEPSS rescore
  25. 2026-09-06 18:53 UTCEG score recompute
Show 75 more
  1. 2026-09-06 18:53 UTCGHSA enrichment
  2. 2026-09-06 13:47 UTCEPSS rescore
  3. 2026-09-05 20:24 UTCEG score recompute
  4. 2026-09-05 20:24 UTCGHSA enrichment
  5. 2026-09-04 05:06 UTCEPSS rescore
  6. 2026-09-02 14:11 UTCEPSS rescore
  7. 2026-09-01 13:53 UTCEPSS rescore
  8. 2026-08-31 01:23 UTCEG score recompute
  9. 2026-08-31 01:23 UTCGHSA enrichment
  10. 2026-08-30 03:10 UTCEG score recompute
  11. 2026-08-30 03:10 UTCGHSA enrichment
  12. 2026-08-30 01:21 UTCEPSS rescore
  13. 2026-08-28 21:40 UTCEPSS rescore
  14. 2026-08-27 21:25 UTCEG score recompute
  15. 2026-08-27 21:25 UTCGHSA enrichment
  16. 2026-08-27 14:24 UTCEPSS rescore
  17. 2026-08-26 22:33 UTCEG score recompute
  18. 2026-08-26 22:33 UTCGHSA enrichment
  19. 2026-08-26 14:45 UTCEPSS rescore
  20. 2026-08-25 18:49 UTCEG score recompute
  21. 2026-08-25 18:49 UTCGHSA enrichment
  22. 2026-08-25 13:48 UTCEPSS rescore
  23. 2026-08-24 19:13 UTCEG score recompute
  24. 2026-08-24 19:13 UTCGHSA enrichment
  25. 2026-08-24 14:16 UTCEPSS rescore
  26. 2026-08-23 18:58 UTCEG score recompute
  27. 2026-08-23 18:58 UTCGHSA enrichment
  28. 2026-08-23 00:18 UTCEPSS rescore
  29. 2026-08-22 20:45 UTCEG score recompute
  30. 2026-08-22 20:45 UTCGHSA enrichment
  31. 2026-08-21 23:48 UTCEPSS rescore
  32. 2026-08-21 22:32 UTCGHSA enrichment
  33. 2026-08-21 00:19 UTCEG score recompute
  34. 2026-08-21 00:19 UTCGHSA enrichment
  35. 2026-08-20 22:55 UTCEPSS rescore
  36. 2026-08-20 02:06 UTCEG score recompute
  37. 2026-08-20 02:06 UTCGHSA enrichment
  38. 2026-08-19 17:03 UTCEPSS rescore
  39. 2026-08-19 03:52 UTCEG score recompute
  40. 2026-08-19 03:52 UTCGHSA enrichment
  41. 2026-08-18 13:48 UTCEPSS rescore
  42. 2026-08-18 05:02 UTCEG score recompute
  43. 2026-08-18 05:02 UTCGHSA enrichment
  44. 2026-08-17 13:46 UTCEPSS rescore
  45. 2026-08-17 06:49 UTCEG score recompute
  46. 2026-08-17 06:49 UTCGHSA enrichment
  47. 2026-08-16 14:55 UTCEPSS rescore
  48. 2026-08-16 08:37 UTCEG score recompute
  49. 2026-08-16 08:37 UTCGHSA enrichment
  50. 2026-08-16 02:14 UTCEPSS rescore
  51. 2026-08-15 10:24 UTCEG score recompute
  52. 2026-08-15 10:24 UTCGHSA enrichment
  53. 2026-08-15 01:30 UTCEPSS rescore
  54. 2026-08-14 12:10 UTCEG score recompute
  55. 2026-08-14 12:10 UTCGHSA enrichment
  56. 2026-08-13 22:00 UTCEPSS rescore
  57. 2026-08-13 13:57 UTCEG score recompute 0.60
  58. 2026-08-13 13:57 UTCGHSA enrichment
  59. 2026-08-13 13:54 UTCNVD updateCVSS v3 → 6.5 · severity → MEDIUM
  60. 2026-08-13 07:22 UTCGHSA enrichment
  61. 2026-08-12 20:17 UTCEG score recompute
  62. 2026-08-12 20:17 UTCGHSA enrichment
  63. 2026-08-12 13:50 UTCEPSS rescore
  64. 2026-08-12 09:15 UTCGHSA enrichment
  65. 2026-08-11 22:11 UTCEG score recompute
  66. 2026-08-11 22:11 UTCGHSA enrichment
  67. 2026-08-11 13:42 UTCEPSS rescore
  68. 2026-08-11 11:03 UTCGHSA enrichment
  69. 2026-08-11 00:00 UTCEG score recompute
  70. 2026-08-11 00:00 UTCGHSA enrichment
  71. 2026-08-10 23:59 UTCEPSS rescore
  72. 2026-08-10 12:57 UTCGHSA enrichment
  73. 2026-08-10 01:54 UTCGHSA enrichment
  74. 2026-08-09 14:51 UTCEG score recompute
  75. 2026-08-09 14:51 UTCGHSA enrichment

Frequently asked(5)

What is CVE-2025-71397?
CVE-2025-71397 is a medium vulnerability published on July 18, 2026. 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…
When was CVE-2025-71397 disclosed?
CVE-2025-71397 was first published in the National Vulnerability Database on July 18, 2026, with the most recent update on August 13, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2025-71397 actively exploited?
CVE-2025-71397 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 75.9% of all scored CVEs.
What is the CVSS score of CVE-2025-71397?
CVE-2025-71397 has a CVSS v3 base score of 6.5 (NVD).
How do I remediate CVE-2025-71397?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2025-71397, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-71397

Explore →

Is Your Infrastructure Affected by CVE-2025-71397?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.