CVE-2024-58366

SurrealDB before 1.1.1 contains a format string vulnerability in the rquickjs Exception::throw_type function when scripting is enabled. Attackers with scripting privileges can supply format string sequences in error inputs to read arbitrary memory or execute code with SurrealDB process privileges.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:delskayn:rquickjs:*:*:*:*:*:rust:*:*
cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*

History

27 Oct 2026, 18:10

Type Values Removed Values Added
Summary
  • (es) SurrealDB anterior a la versión 1.1.1 contiene una vulnerabilidad de cadena de formato en la función rquickjs Exception::throw_type cuando el scripting está habilitado. Atacantes con privilegios de scripting pueden proporcionar secuencias de cadena de formato en entradas de error para leer memoria arbitraria o ejecutar código con privilegios de proceso de SurrealDB.

13 Aug 2026, 16:03

Type Values Removed Values Added
References () https://github.com/surrealdb/surrealdb/security/advisories/GHSA-q3gg-m8hr-h4x4 - () https://github.com/surrealdb/surrealdb/security/advisories/GHSA-q3gg-m8hr-h4x4 - Vendor Advisory
References () https://www.vulncheck.com/advisories/surrealdb-before-format-string-via-scripting-functions - () https://www.vulncheck.com/advisories/surrealdb-before-format-string-via-scripting-functions - Third Party Advisory
First Time Delskayn rquickjs
Surrealdb surrealdb
Surrealdb
Delskayn
CPE cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
cpe:2.3:a:delskayn:rquickjs:*:*:*:*:*:rust:*:*

18 Jul 2026, 14:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-18 14:17

Updated : 2026-10-29 21:17


NVD link : CVE-2024-58366

Mitre link : CVE-2024-58366

CVE.ORG link : CVE-2024-58366


JSON object : View

Products Affected

delskayn

  • rquickjs

surrealdb

  • surrealdb
CWE
CWE-134

Use of Externally-Controlled Format String