Intel

AIKIDO-2026-64443

circular-buffer is vulnerable to Use After Free

Use After Free Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 13, 2026

38

Low Risk

This Affects:

RUSTcircular-buffer
0.1.0 - 2.0.0
Fixed in 2.0.1
Are you affected? Scan for Free

TL;DR

circular-buffer drops elements before updating the buffer's internal metadata. If an element's Drop implementation panics, the metadata is left in an inconsistent state, causing the buffer to continue treating already-dropped elements as live. When the buffer is later dropped, or reused after the panic is caught, those elements are dropped again, resulting in a use-after-free or double-free vulnerability that is reachable from safe Rust.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you are using the truncate_back, truncate_front, clear, ir extend_from_slice methods.

Background info

circular-buffer is vulnerable to Use After Free in versions 0.1.0 - 2.0.0.

How to fix this

Upgrade the circular-buffer library to the patch version.