CVE-2026-134303
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 d…
Impact
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.
An attacker can exploit this with local access to the system, without logging in, without any action by a user. If it succeeds: high risk of data being read, low risk of outages. The attack can reach beyond the vulnerable component itself.
Affected products · Surrealdb
| Product | Affected versions |
|---|---|
| Surrealkv | before 1.1.0 |