{"id":"CVE-2026-109339","summary":"SurrealDB 3.1.0 before 3.3.0 Memory Exhaustion via Surrealism Module Output Buffering","details":"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.","aliases":["GHSA-jj89-wvrw-c4gp"],"modified":"2026-11-04T02:47:16.598457687Z","published":"2026-10-12T16:05:25.820Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109339.json","unresolved_ranges":[{"extracted_events":[{"range":[{"introduced":"0.3.0"},{"fixed":"0.6.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109339.json"},{"type":"ADVISORY","url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-jj89-wvrw-c4gp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-109339"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/surrealdb-3.1.0-before-3.3.0-memory-exhaustion-via-surrealism-module-output-buffering"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/surrealdb/surrealdb","events":[{"introduced":"0009e5b058aff977c3ee6d695073be1433924903"},{"fixed":"238bfeb11f5725bebed370167656748df8067595"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"3.1.0"},{"fixed":"3.3.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"DESCRIPTION","range":[{"introduced":"3.1.0"},{"fixed":"3.3.0"}]}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-109339.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}