Intel

AIKIDO-2026-274782

surrealkv is vulnerable to Improper Input Validation

GHSA-9fm9-c4h4-8g93Published 4 days ago
November 16, 2026

79

CVE Score

High

Improper Input Validation

Are you affected? Scan for Free

TL;DR

In release builds, InternalKeyRef::from_encoded only checks the key length with debug_assert, which is compiled out. A slice shorter than 16 bytes makes the accessors read eight bytes before the buffer.

How do I fix this?

Upgrade the surrealkv library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and the application passes an encoded key shorter than 16 bytes to InternalKeyRef::from_encoded or its accessors.

Package

Versions

0.1.0 - 1.1.1

Fixed in 1.2.0

Background info

surrealkv is vulnerable to Improper Input Validation in versions 0.1.0 - 1.1.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea