Skip to content
OpenAdvisories
Low GHSA-67r5-rqwv-9p9q RUSTSEC-2025-0019

array-init-cursor is unsound when used with types that implement `Drop`

Published Mar 31, 2025 · Updated Oct 28, 2025 · Assigned by GHSA

Description

The `Drop` implementation will get run twice when using the cursor.

This issue does not affect you, if you are using only using the crate with types that are `Copy` such as `u8`.

This issue also does not affect you, if you are only depending on it through the crate `planus`.

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io array-init-cursor < 0.2.1 0.2.1 GHSA-67r5-rqwv-9p9q
crates.io array-init-cursor >= 0.0.0-0, < 0.2.1 0.2.1 RUSTSEC-2025-0019

References