# RUSTSEC-2025-0019: array-init-cursor in version 0.2.0 and below is unsound when used with types that implement Drop

- Database: RustSec
- Published: 2025-03-27
- Modified: 2025-10-28

## Also published as

- [GHSA-67R5-RQWV-9P9Q](https://cve.now/GHSA-67R5-RQWV-9P9Q.md) (GitHub)

## Affected versions

- array-init-cursor (crates.io): fixed in 0.2.1

## 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`.

## References

- https://crates.io/crates/array-init-cursor
- https://rustsec.org/advisories/RUSTSEC-2025-0019.html
- https://github.com/planus-org/planus/issues/293

Page: https://cve.now/RUSTSEC-2025-0019

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
