Intel

AIKIDO-2026-10806

rkyv is vulnerable to Double Free

Double Free Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 14, 2026

35

Low Risk

This Affects:

RUSTrkyv
0.8.0 - 0.8.15
Fixed in 0.8.16
Are you affected? Scan for Free

TL;DR

Affected versions of rkyv contain a panic-safety issue in InlineVec::clear() and SerVec::clear(). If an element’s Drop implementation panics during cleanup, the container length is not updated correctly, causing subsequent calls to clear already-freed elements and potentially resulting in a double free or memory corruption.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

rkyv is vulnerable to Double Free in versions 0.8.0 - 0.8.15.

How to fix this

Upgrade the rkyv library to the patch version.