Out-of-bounds read in SurrealKV InternalKeyRef decoder
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
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
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
- 2026-11-21 Threatist record created from CVE-2026-134303
- 2026-11-21 Alias added: GHSA-2xmc-95h3-hcrm
- 2026-11-23 CISA SSVC decision points changed
References
Patch 1
More surrealdb vulnerabilities
- 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
Sources
- CVE-2026-134303 · CVE Program
- CVE-2026-134303 · NVD
- FIRST EPSS
- GHSA-2xmc-95h3-hcrm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences