Intel

AIKIDO-2026-10471

bitarray is vulnerable to Use After Free

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

68

Medium Risk

This Affects:

RUSTbitarray
0.0.1 - 3.8.0
Fixed in 3.8.1
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to multiple memory-related issues due to improper handling of externally provided buffers during bitarray conversions. The affected logic performs operations on user-influenced byte-like input without consistently validating buffer sizes or ensuring the underlying memory remains valid, which can result in out-of-bounds access and use-after-free conditions. An attacker able to supply crafted input may trigger reads or writes on invalid memory, potentially leading to crashes or undefined behavior.

Who does this affect?

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

Background info

bitarray is vulnerable to Use After Free in versions 0.0.1 - 3.8.0.

How to fix this

Upgrade the bitarray library to the patch version.