CVE-2025-71391

Summary

SurrealDB versions before 2.2.2 contain an uncaught exception vulnerability in the net module that allows authenticated users to crash the database. Attackers can send crafted HTTP queries containing null bytes to the /sql endpoint, causing an unhandled exception that crashes the SurrealDB instance and any dependent applications.

Affected Software

VendorProductVersion RangeStatus
surrealdbsurrealdb0 < 2.2.2affected
surrealdbsurrealdb2.2.2unaffected
surrealdbsurrealdb0 < 2.1.5affected
surrealdbsurrealdb2.1.5unaffected
surrealdbsurrealdb0 < 2.0.5affected
surrealdbsurrealdb2.0.5unaffected

Weaknesses

  • CWE-248: Uncaught Exception

References