Security Resilience

CVE-2024-58366

Delskayn Rquickjs ≤ 0.4.2

Public PoC
Published
18 July 2026
Modified
29 October 2026
Patch / advisory
CVSS Score v4 9.0
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0057 48th percentile
Risk Priority 34 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-58366 is a critical-severity Use of Externally-Controlled Format String (CWE-134) vulnerability in Delskayn Rquickjs. Its CVSS base score is 9.0 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 48th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1584.004 Server Resource Development
Adversaries may compromise third-party servers that can be used during targeting.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-63762Shared T1068, T1190
CVE-2024-58357Shared T1499, T1499.004
CVE-2024-58361Shared T1499, T1499.004
CVE-2024-58365Shared T1499, T1499.004
CVE-2024-58359Shared T1499, T1499.004
CVE-2025-71391Shared T1499, T1499.004
CVE-2026-63747Shared T1499, T1499.004
CVE-2024-58369Shared T1499, T1499.004
CVE-2024-58364Shared T1499, T1499.004
CVE-2024-58368Shared T1499, T1499.004

Affected Assets

delskayn
rquickjs
≤ 0.4.2
surrealdb
surrealdb
≤ 1.1.1

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and static analysis can discover format-string vulnerabilities before deployment.

Input validation can reject or sanitize externally supplied format strings before they reach formatting functions.

Secure development standards and tools can mandate use of static format strings or safe formatting APIs.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly prevent external format strings via code review, static analysis, and safe APIs.

ID.RA-01 partial match
blocks

Vulnerability identification can discover existing format-string flaws but does not prevent their introduction.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development can detect format-string vulnerabilities before release.

prevents

Training developers about format string risks prevents some instances where the defect arises from a knowledge gap (e.g., writing printf(input) instead of printf("%s", input)), but the practice is fallible and a different control (A.8.29 security testing) carries the stronger effect, matching the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors.

prevents

Secure coding standards directly forbid the use of untrusted format strings and prescribe safe alternatives.

prevents

A.8.30's contractual requirement for secure design, coding and testing practices (item b, referencing 8.25–8.29) reaches the implementation defect that introduces CWE-134, but the mechanism is requiring a practice through contract — fallible, like A.8.28's grade of `partial` on CWE-502 and CWE-79 — so it moves a minority of instances rather than the bulk.

finds

A.8.8's reach is DISCLOSURE — it finds vulnerabilities via published advisories and component inventory. CWE-134 is a first-party code defect whose High-rated detection methods (source code analysis) belong to A.8.29, not A.8.8. A.8.8 finds format string bugs only where they appear as published CVEs in third-party components, which is a minority of instances, matching the A.8.8 -> CWE-89 anchor.

References