SurrealKV before 1.1.0 Out-of-Bounds Read via InternalKeyRef Decoder
- State
- Published
- Severity
- 8.3 High
- Published
- Nov 21, 2026
- Updated
- Nov 23, 2026
- Reserved
- Nov 20, 2026
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.
| Product | Versions |
|---|---|
| surrealkv surrealdb | before 1.1.0 Affected1.1.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.3 High | VulnCheck | |
| 3.1 | 7.9 High | VulnCheck |
Weaknesses
- CWE-125 Out-of-bounds Read
References
- GitHub Security Advisory (GHSA-9fm9-c4h4-8g93)Vendor Advisory
- Patch CommitPatch
- VulnCheck Advisory: SurrealKV before 1.1.0 Out-of-Bounds Read via InternalKeyRef DecoderThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.