Description
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.
Metrics
CVSS 3.1 7.9/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:LWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| surrealdb | surrealkv | < 1.1.0 |
References
- https://github.com/surrealdb/surrealdb/commit/914c3ce374bb5d75b10079385a3efb31a9d96e63
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-9fm9-c4h4-8g93
- https://www.vulncheck.com/advisories/surrealkv-before-1.1.0-out-of-bounds-read-via-internalkeyref-decoder
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-9fm9-c4h4-8g93
Timeline
- Published
- Nov 21, 2026
- Last modified
- Dec 4, 2026
- NVD status
- Deferred