Double Free The advisory has been revoked - it doesn't affect any version of package rustfmt  (opens in a new tab)


Threat Intelligence

EPSS
0.56% (46th 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 IDSNYK-RHEL10-RUSTFMT-11419935
  • published3 Aug 2025
  • disclosed10 Apr 2025

Introduced: 10 Apr 2025

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

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:10.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rustfmt package and not the rustfmt package as distributed by RHEL.

In crossbeam-channel rust crate, the internal Channel type's Drop method has a race condition which could, in some circumstances, lead to a double-free that could result in memory corruption.