Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Skip to content
Check your stack
CVE-2024-58366critical9.0

SurrealDB before 1.1.1 Format String via Scripting Functions

Impact

SurrealDB before 1.1.1 has a format string vulnerability in the rquickjs Exception::throw_type function when scripting is enabled, allowing attackers with scripting privileges to read arbitrary memory or execute code. Affected versions are less than 1.1.1. The weakness is a use of externally-controlled format string.

Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.

Affected packages

This source has no supported package-version data for matching. You can read the advisory here, but this record alone cannot power a dependency check.

Affected products

Vendor version evidence. Product records are separate from automatic dependency matching.

surrealdb · VulnCheck

surrealdb

2 ranges

Package identity

pkg:cargo/surrealdbExplore surrealdb →

Identity supplied by VulnCheck. Version matching requires compatible range evidence.

Compare with this publisher’s ranges. This does not inspect your installation.

affected

0 → before 1.1.1

semver versions

unaffected

1.1.1

semver versions

unknown

Other versions: unaffected

DelSkayn · VulnCheck

rquickjs

2 ranges

Package identity

pkg:cargo/rquickjsExplore rquickjs →

Identity supplied by VulnCheck. Version matching requires compatible range evidence.

Compare with this publisher’s ranges. This does not inspect your installation.

affected

0 → before 0.4.2

semver versions

unaffected

0.4.2

semver versions

unknown

Other versions: unaffected

Original source description

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.

Inside the record

Evidence available

Package identity
Version evidence
Remediation guidance · not supplied
Weakness classification
Additional publishers

Describes the evidence in this view, not whether the product is safe.

Original records

CVE-2024-58366

View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.

cve.new JSON →

Underlying weaknesses

The source’s classification of what caused the vulnerability.

CWE-134 ↗

Use of Externally-Controlled Format String

VulnCheck

Related →

Environment requirements

These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.

VulnCheck · platform conditions

Any condition may hold

Vulnerable product

cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*

Before: 1.1.1

Vulnerable product

cpe:2.3:a:delskayn:rquickjs:*:*:*:*:*:*:*:*

Before: 0.4.2

Original applicability statements
[
  {
    "nodes": [
      {
        "operator": "OR",
        "negate": false,
        "cpeMatch": [
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "1.1.1"
          },
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:a:delskayn:rquickjs:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "0.4.2"
          }
        ]
      }
    ]
  }
]
Contributing organizations · 2
VulnCheck

Assigning organization

2026-10-29
CISA-ADP

Additional data publisher

2026-07-20

What changed

Follow changes
No substantive changes have been recorded here yet. History starts when cve.new observes a change after tracking is enabled; earlier edits are not reconstructed.

Large field values are marked as truncated previews. Original source snapshots remain retained.

References

2 sources