cve.bz

CVE-2020-15254 crossbeam project crossbeam

9.8 criticalExploit referenceEPSS 2.7%Fix available

Critical (9.8) in crossbeam project crossbeam. EPSS 2.7% estimated probability of exploitation activity in the next 30 days. Fixed in crossbeam-channel 0.4.4.

On this page
Crossbeam is a set of tools for concurrent programming. In crossbeam-channel before version 0.4.4, the bounded channel incorrectly assumes that `Vec::from_iter` has allocated capacity that same as the number of iterator elements. `Vec::from_iter` does not actually guarantee that and may allocate extra memory. The destructor of the `bounded` channel reconstructs `Vec` from the raw pointer based on the incorrect assumes described above. This is unsound and causing deallocation with the incorrect capacity when `Vec::from_iter` has allocated different sizes with the number of iterator elements. This has been fixed in crossbeam-channel 0.4.4.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.7% (unchanged from 2.7% a week ago; 2.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 86th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-401 Missing Release of Memory after Effective Lifetime
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-15254 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-15254?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-15254?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-15254 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
crossbeam_project:crossbeambefore 0.4.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m8h8-v6jh-c762crates.iocrossbeam-channel>=0.4.3 <0.4.40.4.4
GHSA-v5m7-53cv-f3hxcrates.iocrossbeam-channel>=0.4.3 <0.4.40.4.4
RUSTSEC-2020-0052crates.iocrossbeam-channel>=0.4.3 <0.4.40.4.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTSfirefox82.0+build2-0ubuntu0.16.04.5UBUNTU-CVE-2020-15254 USN-4599-2
Ubuntu18.04:LTSfirefox82.0+build2-0ubuntu0.18.04.1UBUNTU-CVE-2020-15254 USN-4599-1
Ubuntu18.04:LTSmozjs38, mozjs52no fix listedUBUNTU-CVE-2020-15254
Ubuntu20.04:LTSfirefox82.0+build2-0ubuntu0.20.04.1UBUNTU-CVE-2020-15254 USN-4599-1
Ubuntu20.04:LTSmozjs52, mozjs68, rust-crossbeamno fix listedUBUNTU-CVE-2020-15254
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 morerust-crossbeamno fix listedUBUNTU-CVE-2020-15254
openSUSETumbleweedMozillaFirefox92.0-1.2openSUSE-SU-2024:10600-1
openSUSETumbleweedfirefox-esr128.5.1-1.1openSUSE-SU-2024:14572-1
Alpinev3.12, v3.13, v3.14 and 6 morefirefox82.0-r0ALPINE-CVE-2020-15254
Alpinev3.21, v3.22, v3.23firefox, librewolf82.0-r0ALPINE-CVE-2020-15254
Alpinev3.24librewolf82.0-r0ALPINE-CVE-2020-15254

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6firefoxNot affected
Red Hat Enterprise Linux 7firefoxNot affected
Red Hat Enterprise Linux 8firefoxNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-15254.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON