# ArrayQueue's push_front is not panic-safe

Source: https://junglewise.ai/threats/arrayqueue-s-push-front-is-not-panic-safe-c295f589  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-09-02  
License: CC BY 4.0 with a link back

Severity: medium · CVSS 4 · Published 2025-09-02

ArrayQueue's push_front is not panic-safe

Technologies: [array-queue (crates.io)](https://junglewise.ai/threats/technologies/array-queue). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Medium severity, with a CVSS score of 4, published 2 September 2025.

**Which products and versions are affected?** array-queue (crates.io) SEMVER:introduced=0.3.0,fixed=0.4.0.

**Is there a fix for This vulnerability?** Yes. array-queue (crates.io): upgrade to 0.4.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run array-queue (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- array-queue (crates.io): upgrade to 0.4.0 or later

  ```sh
  cargo update -p array-queue
  ```


## Affected products

- array-queue (crates.io) SEMVER:introduced=0.3.0,fixed=0.4.0

## Related threats

- [RUSTSEC-2025-0054 - ArrayQueue::push_front is not panic-safe](https://junglewise.ai/threats/rustsec-2025-0054-arrayqueue-push-front-is-not-panic-safe-c33f34cd)
- [RUSTSEC-2020-0047 - array_queue pop_back() may cause a use-after-free](https://junglewise.ai/threats/cve-2020-35900-use-after-free-vulnerability-in-rust-array-queue)
