# CVE-2018-20996: RUSTSEC-2018-0009 - MsQueue and SegQueue suffer from double-free

Source: https://junglewise.ai/threats/cve-2018-20996-double-free-in-crossbeam  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2018-12-09  
License: CC BY 4.0 with a link back

CVE-2018-20996 · Severity: low · CVSS 3 · Published 2018-12-09

MsQueue and SegQueue suffer from double-free

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

## Quick answers

**Is CVE-2018-20996 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-20996 being exploited in the wild.

**How severe is CVE-2018-20996?** Low severity, with a CVSS score of 3, published 9 December 2018.

**Which products and versions are affected?** crossbeam (crates.io) SEMVER:introduced=0.4.0,fixed=0.4.1.

**Is there a fix for CVE-2018-20996?** Yes. crossbeam (crates.io): upgrade to 0.4.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-20996?** Check whether you run crossbeam (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

- crossbeam (crates.io): upgrade to 0.4.1 or later

  ```sh
  cargo update -p crossbeam
  ```


## Affected products

- crossbeam (crates.io) SEMVER:introduced=0.4.0,fixed=0.4.1

## Identifiers

- CVE-2018-20996
- GHSA-c3cw-c387-pj65
- RUSTSEC-2018-0009

## Related threats

- [`SegQueue` creates zero value of any type](https://junglewise.ai/threats/segqueue-creates-zero-value-of-any-type-511da1b6)
- [`MsQueue` `push`/`pop` use the wrong orderings](https://junglewise.ai/threats/msqueue-push-pop-use-the-wrong-orderings-dc89485d)
- [RUSTSEC-2022-0029 - `MsQueue` `push`/`pop` use the wrong orderings](https://junglewise.ai/threats/rustsec-2022-0029-msqueue-push-pop-use-the-wrong-orderings-ffc54261)
- [RUSTSEC-2022-0020 - `SegQueue` creates zero value of any type](https://junglewise.ai/threats/rustsec-2022-0020-segqueue-creates-zero-value-of-any-type-7cd3c839)
