CVE-2025-4574

NameCVE-2025-4574
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1103987

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rust-crossbeam-channel (PTS)bullseye0.4.4-1fixed
bookworm0.5.6-1fixed
sid, trixie0.5.15-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rust-crossbeam-channelsourcebullseye(not affected)
rust-crossbeam-channelsourcebookworm(not affected)
rust-crossbeam-channelsource(unstable)0.5.15-11103987

Notes

[bookworm] - rust-crossbeam-channel <not-affected> (Only affects 0.5.12 to 0.5.14)
[bullseye] - rust-crossbeam-channel <not-affected> (Only affects 0.5.12 to 0.5.14)
https://rustsec.org/advisories/RUSTSEC-2025-0024.html
https://github.com/crossbeam-rs/crossbeam/pull/1187
Fixed by: https://github.com/crossbeam-rs/crossbeam/commit/6ec74ecae896df5fc239518b45a1bfd258c9db68 (crossbeam-channel-0.5.15)

Search for package or bug name: Reporting problems