Description
SurrealDB 3.1.0 before 3.3.0 lets Surrealism modules exhaust server memory because module stdout/stderr lines are buffered unbounded in host memory, bypassing the configured module memory limit. An attacker can run an Owner-installed malicious module that writes output without newlines, crashing the server and denying service to all namespaces and databases.
Published: 2026-10-12
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Memory Exhaustion leading to Denial of Service
Action: Update
AI Analysis

Impact

SurrealDB versions 3.1.0 through 3.2.x contain an unbounded buffering bug in the Surrealism module output handling. This flaw allows the capture of arbitrarily large amounts of stdout or stderr data without line‑breaks, draining host RAM and eventually crashing the SurrealDB server. The issue is a classic memory exhaustion problem (CWE‑770) that results in denial of service for all namespaces and databases on the affected server.

Affected Systems

The vulnerable components are the SurrealDB database and the Surrealism Runtime module. Versions 3.1.0 up to and including 3.2.x are affected; upgrading version 3.3.0 or later removes the unbounded output buffering logic. Both components share the same runtime process, so a single corrupted module can bring the entire database instance down.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity. Because the EPSS score is unavailable, the probability of exploitation cannot be quantified, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires Owner‑level privileges to install a malicious Surrealism module, meaning an attacker must compromise a trusted user or achieve privilege elevation within the database. Once triggered, the server is crashed and all services are rendered unavailable.

Generated by OpenCVE AI on October 12, 2026 at 18:33 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 3.3.0 or later
  • Upgrade Surrealism Runtime to a version that enforces bounded output buffering
  • Restrict module installation permissions to trusted database owners and audit module deployment

Generated by OpenCVE AI on October 12, 2026 at 18:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 13 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 13 Oct 2026 07:45:00 +0000

Type Values Removed Values Added
First Time appeared Surrealdb surrealism-runtime
Vendors & Products Surrealdb surrealism-runtime

Mon, 12 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Description SurrealDB 3.1.0 before 3.3.0 lets Surrealism modules exhaust server memory because module stdout/stderr lines are buffered unbounded in host memory, bypassing the configured module memory limit. An attacker can run an Owner-installed malicious module that writes output without newlines, crashing the server and denying service to all namespaces and databases.
Title SurrealDB 3.1.0 before 3.3.0 Memory Exhaustion via Surrealism Module Output Buffering
First Time appeared Surrealdb
Surrealdb surrealdb
Weaknesses CWE-770
CPEs cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
Vendors & Products Surrealdb
Surrealdb surrealdb
References
Metrics cvssV3_1

{'score': 4.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Surrealdb Surrealdb Surrealism-runtime
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-13T16:53:58.068Z

Reserved: 2026-10-12T14:19:01.653Z

Link: CVE-2026-109339

cve-icon Vulnrichment

Updated: 2026-10-13T15:48:49.246Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-12T17:17:30.233

Modified: 2026-10-16T19:00:33.600

Link: CVE-2026-109339

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T07:26:16Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling