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,… (CVE-2026-109339)
Description
SurrealDB versions 3.1.0 up to but not including 3.3.0 contain a vulnerability where Surrealism modules can exhaust server memory by buffering stdout/stderr lines without bounds. This bypasses configured memory limits, allowing an attacker with Owner privileges to run a malicious module that writes output without newlines, causing the server to crash and resulting in denial of service across all namespaces and databases.
CVSS v3.1
Score 4.9medium
Affected software
pkg:github/surrealdb/surrealdbRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
SurrealDB versions 3.1.0 before 3.3.0 have a vulnerability (CVE-2026-109339) in which Surrealism modules buffer stdout and stderr output lines unbounded in host memory. This behavior bypasses the configured module memory limit. An attacker with Owner privileges can exploit this by running a malicious module that continuously writes output without newlines, leading to server memory exhaustion and a crash that denies service to all namespaces and databases.
Potential Impact
The vulnerability allows an attacker with Owner-level access to cause a denial of service by crashing the SurrealDB server through memory exhaustion. This affects availability but does not impact confidentiality or integrity according to the CVSS vector. The attack requires high privileges (Owner) and no user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict Owner-level access to trusted users only and monitor for abnormal module output behavior. Avoid running untrusted Surrealism modules that produce large or unbounded output without newlines.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-rj2f-8wx8-hgm5
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-109339"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6acd553e2cdf04f656da8488
Added to database: 10/12/2026, 21:46:38 UTC
Last enriched: 10/12/2026, 21:52:11 UTC
Last updated: 10/13/2026, 04:08:18 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.