CVE-2026-109339

SurrealDB 3.1.0 before 3.3.0 Memory Exhaustion via Surrealism Module Output Buffering

Published Oct 12, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Surrealdb surrealism-runtime
Vendors & Products Surrealdb surrealism-runtime
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'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 13, 2026, 4:53 PM
Reserved
Oct 12, 2026, 2:19 PM
Status
Awaiting Analysis
Published
Oct 12, 2026, 5:17 PM
Modified
Oct 16, 2026, 7:00 PM