Double Free Affecting crossbeam-channel package, versions >=0.5.12 <0.5.15


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-CROSSBEAMCHANNEL-10159648
  • published15 May 2025
  • disclosed10 Apr 2025
  • creditUnknown

Introduced: 10 Apr 2025

CVE-2025-4574  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade crossbeam-channel to version 0.5.15 or higher.

Overview

crossbeam-channel is a crate that provides multi-producer multi-consumer channels for message passing. It is an alternative to std::sync::mpsc with more features and better performance.

Affected versions of this package are vulnerable to Double Free due to the Drop method's handling of the Channel type. An attacker can cause memory corruption by exploiting the race condition that leads to a double-free scenario.

CVSS Base Scores

version 4.0
version 3.1