CVE-2025-4574 Crossbeam-channel: crossbeam-channel vulnerable to double free on drop

Medium 6.5 Published Updated

A race condition in the crossbeam-channel Rust crate can cause a double-free, leading to memory corruption and potential code execution or denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-4574?

CVE-2025-4574 is a medium-severity use after free vulnerability in Red Hat Directory Server 11, published on 13 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-415

Which versions are affected by CVE-2025-4574?

3 open source packages ship an affected version, including crossbeam-channel.

PackageAffectedFixed in
crossbeam-channel crates.ioFrom 0.5.120.5.15
crossbeam-channel crates.ioFrom 0.5.120.5.15
crossbeam-channel crates.ioFrom 0.5.12-00.5.15
Linux distribution packages (1)
python-ruff openSUSE:TumbleweedAll versions0.16.10-1.1

How do I fix CVE-2025-4574?

Upgrade crossbeam-channel to 0.5.15 or later.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2025-4574 being exploited?

There is no known exploitation of CVE-2025-4574 in the wild and no public exploit code.

Sources

Also known as AZL-61830, AZL-61835, AZL-61839, AZL-61845, AZL-61848, AZL-61855 and 8 more.

Is CVE-2025-4574 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free