Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-58366: SurrealDB before 1.1.1 contains a format string vulnerability in the rquickjs Exception::throw_type function w

42
This month
HIGH 8.5UPGRADEUPGRADE

CVE-2024-58366 is a high-severity flaw (CVSS 8.5) affecting rquickjs, surrealdb. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • High severity

A fixed release or distro patch exists.

Risk facts

CVSS score8.5 (High)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededLow
User interactionNone
EPSS exploit chance0.6% (top 53%)
CISA exploited listNo
WeaknessCWE-134
Published2026-07-18
Last modified2026-08-13
Publisher (CNA): VulnCheck · Vendor: delskayn · surrealdb

Share: LinkedIn · X · Reddit

Last updated 2026-08-13 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

delskayn rquickjs UPGRADE
Affected: < 0.4.2
Fixed in: 0.4.2
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy rquickjs || rpm -q rquickjs || rquickjs --version
2. UPGRADE to 0.4.2 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade rquickjs
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade rquickjs
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
surrealdb surrealdb UPGRADE
Affected: < 1.1.1
Fixed in: 1.1.1
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy surrealdb || rpm -q surrealdb || surrealdb --version
2. UPGRADE to 1.1.1 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade surrealdb
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade surrealdb
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-58366?

rquickjs: upgrade to 0.4.2; surrealdb: upgrade to 1.1.1. Exact commands for each OS are on this page.

Is CVE-2024-58366 being exploited?

CVE-2024-58366 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-58366 affect?

CVE-2024-58366 affects rquickjs, surrealdb. Severity is high (CVSS 8.5). 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

How urgent is CVE-2024-58366?

Priority 42/100. High severity

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.