Out-of-bounds Read Affecting rkyv package, versions >=0.7.0-pre.2 <0.8.17


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-RKYV-18603097
  • published10 Aug 2026
  • disclosed13 May 2026
  • creditUnknown

Introduced: 13 May 2026

CVE NOT AVAILABLE CWE-125  (opens in a new tab)

How to fix?

Upgrade rkyv to version 0.8.17 or higher.

Overview

rkyv is a zero-copy deserialization framework for Rust.

Affected versions of this package are vulnerable to Out-of-bounds Read due to improper validation of shared pointers in archives containing Rc or Arc. An attacker can cause out-of-bounds reads by crafting archives where multiple pointers share a data address but have different metadata, such as forged slice lengths, allowing safe indexing operations to access memory outside the intended bounds.

CVSS Base Scores

version 4.0
version 3.1