RUSTSEC-2018-0009

    Dashboard / Vulnerabilities / RUSTSEC-2018-0009

    RUSTSEC-2018-0009

    Published: 9 Dec 2018Last Modified: 17 Jul 2026

    Summary: MsQueue and SegQueue suffer from double-free

    Details: 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](https://github.com/c0gent) for reporting the issue.

    Affected packages

    Package

    Name: crossbeam

    Purl: pkg:cargo/crossbeam

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.4.0
    Fixed -0.4.1

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High