5 matches found
EUVD-2026-132244
SurrealKV before 1.1.0 contains an out-of-bounds read vulnerability in the safe InternalKeyRef::fromencoded 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...
CVE-2026-134303
SurrealKV versions before 1.1.0 are vulnerable to an out-of-bounds read in the InternalKeyRef::from_encoded constructor. The root cause is the use of a debug-only assertion to check key length, allowing keys shorter than 16 bytes or corrupted SSTable blocks to trigger unchecked length underflows ...
RUSTSEC-2026-0452 Out-of-bounds read when decoding internal keys shorter than 16 bytes
InternalKeyRef::fromencoded is a safe constructor whose only length check is debugassert!encoded.len = 16, which is compiled out in release builds. Its accessors perform unchecked length arithmetic on the slice: userkey slices &encoded..len - 16, trailer/seqnum pass len - 16 and timestamp passes...
Out-of-bounds read when decoding internal keys shorter than 16 bytes
InternalKeyRef::fromencoded is a safe constructor whose only length check is debugassert!encoded.len = 16, which is compiled out in release builds. Its accessors perform unchecked length arithmetic on the slice: userkey slices &encoded..len - 16, trailer/seqnum pass len - 16 and timestamp passes...
Use-after-free in KV backends via leaked `affinitypool::spawn_local` future
The kv-mem, kv-surrealkv and kv-rocksdb backends move non-'static borrowed state into affinity-pool closures through affinitypool::spawnlocal: a tokio::sync::MutexGuard, &Transaction, &mut ScanStateKeys/Vals, &mut dyn KeyVisitor/ValVisitor, RwLockReadGuard, and a ReadOptions holding a raw...