What’s Vulnerable › Vulnerabilities

CVE-2026-109339: SurrealDB 3.1.0 before 3.3.0 Memory Exhaustion via Surrealism Module Output Buffering

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.

Affected products

How to fix

Upgrade to a fixed version: surrealdb 3.3.0; surrealdb surrealism-runtime 0.6.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-109339 or the next vulnerability affects your stack