---
cve: "CVE-2025-71393"
severity: "MEDIUM"
cvss: 6.0
epss: "0.5%"
vendor: "surrealdb"
kev: false
exploited: false
published: "2026-07-18 14:17:10"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-10-02T06:33:04+02:00"
---

# CVE-2025-71393

> 6.0 MEDIUM · 🧪 PoC

## Beschreibung

SurrealDB before 2.2.2 with scripting enabled fails to properly enforce recursion limits when native functions contain embedded JavaScript that issues new queries. Authenticated attackers can bypass the recursion limit by chaining native and JavaScript function calls to trigger infinite recursion and exhaust server memory.

## CISA-Anreicherung (vulnrichment/ADP)

- CISA-SSVC (Coordinator, v2.0.3):
  - Exploitation: **none**
  - Automatable: **no**
  - Technical Impact: **partial**

## CVSS-Vektor

```
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |

## Patch verfügbar (OSV)

- a83e960ee5513a3e39c88f312fabba83f8e15322 (Commit)
- b0a15fa3a19ebe2785115c9948dfbde00399adc8 (Commit)

## Referenzen

- <https://github.com/surrealdb/surrealdb/security/advisories/GHSA-m7rc-8w7m-r9qr>
- <https://www.vulncheck.com/advisories/surrealdb-before-memory-exhaustion-via-nested-functions>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2025-71393) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI WID (CSAF)_
