Every CVE Search/ Get API key

CVE-2018-20996

Double free in crossbeam

9.8 CriticalFix available

An issue was discovered in the crossbeam crate before 0.4.1 for Rust. There is a double free because of destructor mishandling.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.74%Up 1.3 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

An issue was discovered in the crossbeam crate before 0.4.1 for Rust. There is a double free because of destructor mishandling.

Record
CVE-2018-20996
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-415
Updated
2026-11-02
CVE List No score

An issue was discovered in the crossbeam crate before 0.4.1 for Rust. There is a double free because of destructor mishandling.

Record
CVE-2018-20996
Updated
2026-11-02
EUVDEUVD-2021-1671 No score

An issue was discovered in the crossbeam crate before 0.4.1 for Rust. There is a double free because of destructor mishandling.

Record
EUVD-2021-1671
Updated
2026-11-03
GitHub AdvisoriesGHSA-c3cw-c387-pj65 9.8

Double free in crossbeam

Even if an element is popped from a queue, crossbeam would run its destructor inside the epoch-based garbage collector. This is a source of double frees.

The flaw was corrected by wrapping elements inside queues in a ManuallyDrop.

Record
GHSA-c3cw-c387-pj65
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-415
Updated
2026-11-02
OSV 9.8

An issue was discovered in the crossbeam crate before 0.4.1 for Rust. There is a double free because of destructor mishandling.

Record
CVE-2018-20996
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-c3cw-c387-pj65 9.8

Double free in crossbeam

Even if an element is popped from a queue, crossbeam would run its destructor inside the epoch-based garbage collector. This is a source of double frees.

The flaw was corrected by wrapping elements inside queues in a ManuallyDrop.

Record
GHSA-c3cw-c387-pj65
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-415
Updated
2026-11-02
OSVRUSTSEC-2018-0009 9.8

MsQueue and SegQueue suffer from double-free

Even if an element is popped from a queue, crossbeam would run its destructor inside the epoch-based garbage collector. This is a source of double frees.

The flaw was corrected by wrapping elements inside queues in a ManuallyDrop.

Thanks to @c0gent for reporting the issue.

Record
RUSTSEC-2018-0009
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2018-20996 9.8

An issue was discovered in the crossbeam crate before 0.4.1 for Rust. There is a double free because of destructor mishandling.

Record
UBUNTU-CVE-2018-20996
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
crossbeam
crates.io
0.4.0 up to 0.4.1
0.4.1
rust-crossbeam-epoch
Ubuntu:20.04:LTS
All versions, plus listed versions
0.7.1-10.7.2-20.7.2-3
None known
rust-crossbeam-epoch
Ubuntu:22.04:LTS
All versions, plus listed versions
0.8.2-10.8.2-2
None known
rust-crossbeam-epoch
Ubuntu:24.04:LTS
All versions, plus listed versions
0.9.13-10.9.18-1
None known
rust-crossbeam-epoch
Ubuntu:25.10
All versions, plus listed versions
0.9.18-1
None known
rust-crossbeam-epoch
Ubuntu:26.10
All versions, plus listed versions
0.9.18-10.9.20-1
None known
rust-crossbeam-epoch
Ubuntu:26.04:LTS
All versions, plus listed versions
0.9.18-1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-20996 is a critical vulnerability (CVSS 9.8) in Crossbeam Project Crossbeam, published December 9, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.74%, the 77th percentile. Fixed in crossbeam 0.4.1.

References

MoveEnter Open