CVE-2025-71395
Last modified
CVE-2025-71395 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. SurrealDB versions before 2.2.2 contain a memory exhaustion vulnerability in the string::replace function that fails to restrict resulting string length when using regex patterns. An authenticated attacker can craft a malicious query to exhaust server memory through unbounded string allocations, causing denial of service.. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
SurrealDB versions before 2.2.2 contain a memory exhaustion vulnerability in the string::replace function that fails to restrict resulting string length when using regex patterns. An authenticated attacker can craft a malicious query to exhaust server memory through unbounded string allocations, causing denial of service.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Surrealdb | Surrealdb | < 2.0.5 |
| Surrealdb | Surrealdb | >= 2.1.0, < 2.1.5 |
| Surrealdb | Surrealdb | >= 2.2.0, < 2.2.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-71395?
How severe is CVE-2025-71395?
How do I fix CVE-2025-71395?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-7139A vulnerability was found in SourceCodester Best Salon Manag…5.4
- CVE-2025-71390SurrealDB before 2.2.6, 2.3.6, and 2.1.8 (and 3.0.0-alpha.7 …8.8
- CVE-2025-71391SurrealDB versions before 2.2.2 contain an uncaught exceptio…6.5
- CVE-2025-71392SurrealDB before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before…8
- CVE-2025-71393SurrealDB before 2.2.2 with scripting enabled fails to prope…6.5
- CVE-2025-71394SurrealDB versions before 2.2.2 contain a local file read vu…4.3
- CVE-2025-71396SurrealDB before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before…6.5
- CVE-2025-71397SurrealDB before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before…6.5
- CVE-2025-71398SurrealDB before 2.2.2 fails to validate HTTP redirects in h…7.6
- CVE-2025-71399Better Auth relies on better-call, which uses the rou3 route…8.6
- CVE-2025-7140A vulnerability classified as problematic has been found in …5.4
- CVE-2025-71400better-auth passkey versions before 1.4.0 contain an insecur…7.1
Are you affected by CVE-2025-71395?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
