Read the docs

Out-of-bounds read in SurrealKV InternalKeyRef decoder

Priority HIGH 69CWE-125Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · None · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

SurrealKV before 1.1.0 contains an out-of-bounds read (CWE-125) in the InternalKeyRef::from_encoded constructor. The constructor checks key length only with a debug-only assertion, so keys shorter than 16 bytes or crafted or corrupted SSTable blocks cause a length underflow when timestamps and sequence numbers are read. An attacker who can supply such data can read heap memory outside the allocation or crash the process by panicking.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

Description from the CNA

SurrealKV before 1.1.0 contains an out-of-bounds read vulnerability in the safe InternalKeyRef::from_encoded constructor, which only checks key length with a debug-only assertion. Callers passing keys shorter than 16 bytes, or crafted or corrupted SSTable blocks, trigger unchecked length underflow in timestamp(), seq_num() and trailer(), reading heap bytes before the allocation or panicking.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0018 4th percentileScored 2026-11-30
Fix Fixed surrealkv (surrealdb): 1.1.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
surrealdbsurrealkvbefore 1.1.01.1.0Patch availableCNA
  • surrealkv Vendorsurrealdb Affected before 1.1.0 Fixed in 1.1.0 Patch available CNA

Remediation

Upgrade SurrealKV to version 1.1.0, which is the fixed version.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

  • Fix · CNA surrealkv (surrealdb) Fixed in 1.1.0

Timeline

  1. 2026-11-21 Threatist record created from CVE-2026-134303
  2. 2026-11-21 Alias added: GHSA-2xmc-95h3-hcrm
  3. 2026-11-23 CISA SSVC decision points changed

References

  • TI-2026-96302 SurrealDB Memory Exhaustion via GraphQL WebSocket Upgrade CVSS 4.0HIGH 8.7
  • TI-2026-84301 MCP session hijack in SurrealDB via BoundSubject collision CVSS 4.0HIGH 8.6
  • TI-2026-96310 Authorization bypass in SurrealDB via COMPUTED field permissions CVSS 4.0HIGH 7.1
  • TI-2026-96305 Decimal overflow in SurrealDB math functions crashes the server CVSS 4.0HIGH 7.1
  • TI-2026-96295 Information disclosure in SurrealDB via ON DELETE REJECT errors CVSS 4.0HIGH 7.1
  • TI-2026-96293 Authorization bypass in SurrealDB event THROW guard via interactive transactions CVSS 4.0HIGH 7.1
See all 97 →

Sources