# CVE-2026-134303: SurrealKV before 1.1.0 Out-of-Bounds Read via InternalKeyRef Decoder

- **Severity:** HIGH 8.3
- **CVSS:** 8.3 (v4.0, CNA) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:L/SC:H/SI:N/SA:L`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: None; Availability impact: Low; Confidentiality impact on other systems: High; Integrity impact on other systems: None; Availability impact on other systems: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-28)
- **CWE:** CWE-125
- **Aliases:** GHSA-9fm9-c4h4-8g93, RUSTSEC-2026-0452
- **Published:** 2026-11-03T12:00:00.000Z
- **Modified:** 2026-11-23T17:17:34.730Z

## Who should check

- Projects that depend on crates.io package surrealkv (\>= 0.0.0-0, \< 1.2.0)
- Anyone running surrealdb surrealkv \< 1.1.0

## 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.

## Affected and fixed versions

- crates.io `surrealkv`: affected \>= 0.0.0-0, \< 1.2.0; fixed 1.2.0 (osv)
- surrealdb surrealkv: \< 1.1.0 (cvelist)

## Technologies

Rust crates

## Mitigation

- Upgrade surrealkv to 1.2.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-134303. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-134303.md
Affected: surrealkv >= 0.0.0-0, < 1.2.0
Fixed in: 1.2.0

Steps:
1. Search this machine and project for surrealkv (crates.io), surrealdb surrealkv: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-134303 being exploited?

There is no confirmed exploitation: CVE-2026-134303 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-134303?

High: CVSS 8.3 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-134303?

surrealkv \>= 0.0.0-0, \< 1.2.0.

### Is there a fix for CVE-2026-134303?

Yes. Fixed in 1.2.0. Upgrade surrealkv to 1.2.0 or later.

### How do I check if I'm affected by CVE-2026-134303?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/surrealdb/surrealdb/security/advisories/GHSA-9fm9-c4h4-8g93>
- vendor: <https://rustsec.org/advisories/RUSTSEC-2026-0452.html>
- patch: <https://github.com/surrealdb/surrealdb/commit/914c3ce374bb5d75b10079385a3efb31a9d96e63>
- patch: <https://github.com/surrealdb/surrealkv/commit/ac642f945d63c9c9f7ad35f480995fd516f83fb6>
- patch: <https://github.com/surrealdb/surrealkv/pull/497>
- other: <https://www.vulncheck.com/advisories/surrealkv-before-1.1.0-out-of-bounds-read-via-internalkeyref-decoder>
- other: <https://crates.io/crates/surrealkv>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-134303>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/RUSTSEC-2026-0452> (license: <https://creativecommons.org/licenses/by/4.0/>)
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-134303> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-134303>
