# CVE-2020-36318: cargo: Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety.  T...

CVE-2020-36318 is fixed in 14 products on 1 platform, first by RHSA-2021:1935, released May 18, 2021. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2020-36318
- Priority: High
- CVSS: 9.8 (Low)
- EPSS: 0.0168
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 18, 2021

## Description

Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety.  The following packages have been upgraded to a later upstream version: rust (1.49.0). (BZ#1896712)  Security Fix(es):  * rust: use-after-free or double free in VecDeque::make_contiguous (CVE-2020-36318)  * rust: memory safety violation in String::retain() (CVE-2020-36317)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.  Additional Changes:  For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.4 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | cargo RHEL 8 | 0:1.49.0-1.module+el8.4.0+9446+1a463e08 | [RHSA-2021:1935](https://patchblox.com/security/data/fix/linux/rhsa-2021-1935.md) | May 18, 2021 |
| Linux | cargo ol 8 | 0:1.49.0-1.module+el8.4.0+20083+9f8f961d | [ELSA-2021-1935](https://patchblox.com/security/data/fix/linux/elsa-2021-1935.md) | May 25, 2021 |
| Linux | cargo-doc RHEL 8 | 0:1.49.0-1.module+el8.4.0+9446+1a463e08 | [RHSA-2021:1935](https://patchblox.com/security/data/fix/linux/rhsa-2021-1935.md) | May 18, 2021 |
| Linux | cargo-doc ol 8 | 0:1.49.0-1.module+el8.4.0+20083+9f8f961d | [ELSA-2021-1935](https://patchblox.com/security/data/fix/linux/elsa-2021-1935.md) | May 25, 2021 |
| Linux | clippy RHEL 8 | 0:1.49.0-1.module+el8.4.0+9446+1a463e08 | [RHSA-2021:1935](https://patchblox.com/security/data/fix/linux/rhsa-2021-1935.md) | May 18, 2021 |
| Linux | clippy ol 8 | 0:1.49.0-1.module+el8.4.0+20083+9f8f961d | [ELSA-2021-1935](https://patchblox.com/security/data/fix/linux/elsa-2021-1935.md) | May 25, 2021 |
| Linux | rls RHEL 8 | 0:1.49.0-1.module+el8.4.0+9446+1a463e08 | [RHSA-2021:1935](https://patchblox.com/security/data/fix/linux/rhsa-2021-1935.md) | May 18, 2021 |
| Linux | rls ol 8 | 0:1.49.0-1.module+el8.4.0+20083+9f8f961d | [ELSA-2021-1935](https://patchblox.com/security/data/fix/linux/elsa-2021-1935.md) | May 25, 2021 |
| Linux | rust RHEL 8 | 0:1.49.0-1.module+el8.4.0+9446+1a463e08 | [RHSA-2021:1935](https://patchblox.com/security/data/fix/linux/rhsa-2021-1935.md) | May 18, 2021 |
| Linux | rust ol 8 | 0:1.49.0-1.module+el8.4.0+20083+9f8f961d | [ELSA-2021-1935](https://patchblox.com/security/data/fix/linux/elsa-2021-1935.md) | May 25, 2021 |
| Linux | rust-analysis RHEL 8 | 0:1.49.0-1.module+el8.4.0+9446+1a463e08 | [RHSA-2021:1935](https://patchblox.com/security/data/fix/linux/rhsa-2021-1935.md) | May 18, 2021 |
| Linux | rust-analysis ol 8 | 0:1.49.0-1.module+el8.4.0+20083+9f8f961d | [ELSA-2021-1935](https://patchblox.com/security/data/fix/linux/elsa-2021-1935.md) | May 25, 2021 |
| Linux | rust-debugger-common RHEL 8 | 0:1.49.0-1.module+el8.4.0+9446+1a463e08 | [RHSA-2021:1935](https://patchblox.com/security/data/fix/linux/rhsa-2021-1935.md) | May 18, 2021 |
| Linux | rust-debugger-common ol 8 | 0:1.49.0-1.module+el8.4.0+20083+9f8f961d | [ELSA-2021-1935](https://patchblox.com/security/data/fix/linux/elsa-2021-1935.md) | May 25, 2021 |
| Linux | rust-doc RHEL 8 | 0:1.49.0-1.module+el8.4.0+9446+1a463e08 | [RHSA-2021:1935](https://patchblox.com/security/data/fix/linux/rhsa-2021-1935.md) | May 18, 2021 |
| Linux | rust-doc ol 8 | 0:1.49.0-1.module+el8.4.0+20083+9f8f961d | [ELSA-2021-1935](https://patchblox.com/security/data/fix/linux/elsa-2021-1935.md) | May 25, 2021 |
| Linux | rust-gdb RHEL 8 | 0:1.49.0-1.module+el8.4.0+9446+1a463e08 | [RHSA-2021:1935](https://patchblox.com/security/data/fix/linux/rhsa-2021-1935.md) | May 18, 2021 |
| Linux | rust-gdb ol 8 | 0:1.49.0-1.module+el8.4.0+20083+9f8f961d | [ELSA-2021-1935](https://patchblox.com/security/data/fix/linux/elsa-2021-1935.md) | May 25, 2021 |
| Linux | rust-lldb RHEL 8 | 0:1.49.0-1.module+el8.4.0+9446+1a463e08 | [RHSA-2021:1935](https://patchblox.com/security/data/fix/linux/rhsa-2021-1935.md) | May 18, 2021 |
| Linux | rust-lldb ol 8 | 0:1.49.0-1.module+el8.4.0+20083+9f8f961d | [ELSA-2021-1935](https://patchblox.com/security/data/fix/linux/elsa-2021-1935.md) | May 25, 2021 |
| Linux | rust-src RHEL 8 | 0:1.49.0-1.module+el8.4.0+9446+1a463e08 | [RHSA-2021:1935](https://patchblox.com/security/data/fix/linux/rhsa-2021-1935.md) | May 18, 2021 |
| Linux | rust-src ol 8 | 0:1.49.0-1.module+el8.4.0+20083+9f8f961d | [ELSA-2021-1935](https://patchblox.com/security/data/fix/linux/elsa-2021-1935.md) | May 25, 2021 |
| Linux | rust-std-static RHEL 8 | 0:1.49.0-1.module+el8.4.0+9446+1a463e08 | [RHSA-2021:1935](https://patchblox.com/security/data/fix/linux/rhsa-2021-1935.md) | May 18, 2021 |
| Linux | rust-std-static ol 8 | 0:1.49.0-1.module+el8.4.0+20083+9f8f961d | [ELSA-2021-1935](https://patchblox.com/security/data/fix/linux/elsa-2021-1935.md) | May 25, 2021 |
| Linux | rust-toolset RHEL 8 | 0:1.49.0-1.module+el8.4.0+9446+1a463e08 | [RHSA-2021:1935](https://patchblox.com/security/data/fix/linux/rhsa-2021-1935.md) | May 18, 2021 |
| Linux | rust-toolset ol 8 | 0:1.49.0-1.module+el8.4.0+20083+9f8f961d | [ELSA-2021-1935](https://patchblox.com/security/data/fix/linux/elsa-2021-1935.md) | May 25, 2021 |
| Linux | rustfmt RHEL 8 | 0:1.49.0-1.module+el8.4.0+9446+1a463e08 | [RHSA-2021:1935](https://patchblox.com/security/data/fix/linux/rhsa-2021-1935.md) | May 18, 2021 |
| Linux | rustfmt ol 8 | 0:1.49.0-1.module+el8.4.0+20083+9f8f961d | [ELSA-2021-1935](https://patchblox.com/security/data/fix/linux/elsa-2021-1935.md) | May 25, 2021 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
