# GHSA-67r5-rqwv-9p9q: array-init-cursor is unsound when used with types that implement `Drop`

- Severity: Low (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-03-27T12:00:00.000Z
- Modified: 2025-10-28T06:29:23.375Z
- Also known as: RUSTSEC-2025-0019
- Weaknesses: CWE-672

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

(As written by GitHub Advisory Database.)

## Affected

- array-init-cursor (crates.io): before 0.2.1; from 0.0.0-0 before 0.2.1

## References

- <https://github.com/planus-org/planus/issues/293> (report, web)
- <https://github.com/planus-org/planus/pull/294> (web)
- <https://github.com/planus-org/planus> (package)
- <https://rustsec.org/advisories/RUSTSEC-2025-0019.html> (advisory, web)
- <https://crates.io/crates/array-init-cursor> (package)

## Sources

- GitHub Advisory Database: [GHSA-67r5-rqwv-9p9q](https://github.com/advisories/GHSA-67r5-rqwv-9p9q), CC-BY-4.0, modified 2025-10-28
- RustSec Advisory Database: [RUSTSEC-2025-0019](https://rustsec.org/advisories/RUSTSEC-2025-0019.html), CC0-1.0, modified 2025-10-28

---

Page: https://cve.day/GHSA-67r5-rqwv-9p9q · Whole record: https://cve.day/GHSA-67r5-rqwv-9p9q.json · Rebuilt by cve.day 2026-11-25T22:56:43.250Z
