CVE-2025-4574
Crossbeam-channel: crossbeam-channel vulnerable to double free on drop
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
6.5
Crossbeam-channel: crossbeam-channel vulnerable to double free on drop
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.
- Record
CVE-2025-4574- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L - Weakness
- CWE-415
- Updated
- 2026-11-05
EUVDEUVD-2025-14635
6.5
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.
- Record
EUVD-2025-14635- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L - Updated
- 2026-11-05
GitHub AdvisoriesGHSA-pg9f-39pc-qf8g
6.3
crossbeam-channel Vulnerable to Double Free on Drop
The internal Channel type's Drop method has a race
which could, in some circumstances, lead to a double-free.
This could result in memory corruption.
Quoting from the upstream description in merge request #1187:
The problem lies in the fact that
dicard_all_messagescontained two paths that could lead tohead.blockbeing read but only one of them would swap the value. This meant thatdicard_all_messagescould end up observing a non-null block pointer (and therefore attempting to free it) without settinghead.blockto null. This would then lead toChannel::dropmaking a second attempt at dropping the same pointer.
The bug was introduced while fixing a memory leak, in upstream MR #1084, first published in 0.5.12.
The fix is in upstream MR #1187 and has been published in 0.5.15
- Record
GHSA-pg9f-39pc-qf8g- CVSS 4.0
- 6.3 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N - Weakness
- CWE-415
- Updated
- 2026-11-02
NVD
6.5
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.
- Record
CVE-2025-4574- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L - Weakness
- CWE-415
- Updated
- 2026-11-05
OSV
6.5
Crossbeam-channel: crossbeam-channel vulnerable to double free on drop
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.
- Record
CVE-2025-4574- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L - Weakness
- CWE-415
- Updated
- 2026-11-07
OSVDEBIAN-CVE-2025-4574
6.5
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.
- Record
DEBIAN-CVE-2025-4574- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L - Updated
- 2026-11-02
Show 18 moreShow less
OSVGHSA-pg9f-39pc-qf8g
6.3
crossbeam-channel Vulnerable to Double Free on Drop
The internal Channel type's Drop method has a race
which could, in some circumstances, lead to a double-free.
This could result in memory corruption.
Quoting from the upstream description in merge request #1187:
The problem lies in the fact that
dicard_all_messagescontained two paths that could lead tohead.blockbeing read but only one of them would swap the value. This meant thatdicard_all_messagescould end up observing a non-null block pointer (and therefore attempting to free it) without settinghead.blockto null. This would then lead toChannel::dropmaking a second attempt at dropping the same pointer.
The bug was introduced while fixing a memory leak, in upstream MR #1084, first published in 0.5.12.
The fix is in upstream MR #1187 and has been published in 0.5.15
- Record
GHSA-pg9f-39pc-qf8g- CVSS 4.0
- 6.3 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N - Weakness
- CWE-415
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-4574
6.5
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.
- Record
UBUNTU-CVE-2025-4574- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L - Updated
- 2026-11-02
OSVAZL-61830 No score
CVE-2025-4574 affecting package rust for versions less than 1.75.0-16
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.
- Record
AZL-61830- Updated
- 2026-11-05
OSVAZL-61835 No score
CVE-2025-4574 affecting package 389-ds-base 3.1.1-12
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.
- Record
AZL-61835- Updated
- 2026-11-05
OSVAZL-61839 No score
CVE-2025-4574 affecting package kata-containers-cc for versions less than 3.15.0.aks0-15
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.
- Record
AZL-61839- Updated
- 2026-11-05
OSVAZL-61845 No score
CVE-2025-4574 affecting package rust for versions less than 1.86.0-3
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.
- Record
AZL-61845- Updated
- 2026-11-05
OSVAZL-61848 No score
CVE-2025-4574 affecting package azl-compliance for versions less than 1.0.2-2
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.
- Record
AZL-61848- Updated
- 2026-11-02
OSVAZL-61855 No score
CVE-2025-4574 affecting package kata-containers for versions less than 3.18.0.kata0-1
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.
- Record
AZL-61855- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15550-1 No score
cargo-audit-0.21.2~git0.18e58c2-2.1 on GA media
These are all security issues fixed in the cargo-audit-0.21.2~git0.18e58c2-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15550-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15551-1 No score
cargo-c-0.10.3~git0.ee7d7ef-4.1 on GA media
These are all security issues fixed in the cargo-c-0.10.3~git0.ee7d7ef-4.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15551-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:12042-1 No score
python313-ruff-0.16.10-1.1 on GA media
These are all security issues fixed in the python313-ruff-0.16.10-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:12042-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:12355-1 No score
zed-1.24.2-1.1 on GA media
These are all security issues fixed in the zed-1.24.2-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:12355-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:20060-1 No score
Security update for cargo-c
This update for cargo-c fixes the following issues:
- CVE-2025-4574: crossbeam-channel: Fixed double-free on drop in Channel::discard_all_messages (bsc#1243179)
- CVE-2025-58160: tracing-subscriber: Fixed log pollution (bsc#1249012)
- CVE-2024-12224: idna: Fixed improper validation of Punycode labels (bsc#1243851)
Other fixes:
- Fixed _service file to have proper versioning
- Update to version 0.10.15~git0.3e178d5:
- Bump actions/download-artifact from 4 to 5
- Update implib requirement from 0.3.5 to 0.4.0
- Add rlib to the targets when building tests
- Allow disabling emission of library version constants in header files
- Bump to cargo 0.90
- Fix static_libraries swallowing sequence of -framework flags
- Fix non-POSIX paths in Libdir under Windows
- Bump actions-rs-plus/clippy-check from 2.2.1 to 2.3.0
- Fix clippy lints
- Bump cargo-0.89, object-0.37.1, cbindgen-0.29
- Record
openSUSE-SU-2026:20060-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:21689-1 No score
Security update for gstreamer-devtools
This update for gstreamer-devtools fixes the following issues:
- CVE-2025-4574: crossbeam-channel: internal
Channeltype'sDropmethod has a race condition that can lead to a double-free and memory corruption (bsc#1243178). - CVE-2025-58160: tracing-subscriber: untrusted user input containing ANSI escape sequences can be injected into terminal output when logged and lead to terminal manipulation (bsc#1249015).
- CVE-2026-25541: bytes: integer overflow in
BytesMut:reservecan lead to undefined behavior and crashes (bsc#1274306). - CVE-2026-25727: time: parsing of user-provided input by the RFC 2822 date parser can lead to stack exhaustion (bsc#1257914).
- CVE-2026-72813: actix-files: empty
Rangeheader in GET requests for static files can lead to a process crash (bsc#1275210). - CVE-2026-72814: actix-files: non-existing folders passed as an argument to the
actix_files::Files::new()method can lead to information disclosure (bsc#1275209).
- Record
openSUSE-SU-2026:21689-1- Updated
- 2026-11-02
OSVRUSTSEC-2025-0024 No score
crossbeam-channel: double free on Drop
The internal Channel type's Drop method has a race
which could, in some circumstances, lead to a double-free.
This could result in memory corruption.
Quoting from the upstream description in merge request #1187:
The problem lies in the fact that
dicard_all_messagescontained two paths that could lead tohead.blockbeing read but only one of them would swap the value. This meant thatdicard_all_messagescould end up observing a non-null block pointer (and therefore attempting to free it) without settinghead.blockto null. This would then lead toChannel::dropmaking a second attempt at dropping the same pointer.
The bug was introduced while fixing a memory leak, in upstream MR #1084, first published in 0.5.12.
The fix is in upstream MR #1187 and has been published in 0.5.15
- Record
RUSTSEC-2025-0024- Updated
- 2026-11-02
OSVSUSE-SU-2025:01591-1 No score
Security update for python-maturin
This update for python-maturin fixes the following issues:
- CVE-2025-3416: openssl: use-after-free in
Md::fetchandCipher::fetchwhenSome(...)value passed aspropertiesargument to either function (bsc#1242631). - CVE-2025-4574: crossbeam-channel: double-free leading to possible memory corruption in
Channel::dropwhen dropping a channel (bsc#1243177).
- Record
SUSE-SU-2025:01591-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:20096-1 No score
Security update for cargo-c
This update for cargo-c fixes the following issues:
- CVE-2025-4574: crossbeam-channel: Fixed double-free on drop in Channel::discard_all_messages (bsc#1243179)
- CVE-2025-58160: tracing-subscriber: Fixed log pollution (bsc#1249012)
- CVE-2024-12224: idna: Fixed improper validation of Punycode labels (bsc#1243851)
Other fixes:
- Fixed _service file to have proper versioning
- Update to version 0.10.15~git0.3e178d5:
- Bump actions/download-artifact from 4 to 5
- Update implib requirement from 0.3.5 to 0.4.0
- Add rlib to the targets when building tests
- Allow disabling emission of library version constants in header files
- Bump to cargo 0.90
- Fix static_libraries swallowing sequence of -framework flags
- Fix non-POSIX paths in Libdir under Windows
- Bump actions-rs-plus/clippy-check from 2.2.1 to 2.3.0
- Fix clippy lints
- Bump cargo-0.89, object-0.37.1, cbindgen-0.29
- Record
SUSE-SU-2026:20096-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:23572-1 No score
Security update for gstreamer-devtools
This update for gstreamer-devtools fixes the following issues:
- CVE-2025-4574: crossbeam-channel: internal
Channeltype'sDropmethod has a race condition that can lead to a double-free and memory corruption (bsc#1243178). - CVE-2025-58160: tracing-subscriber: untrusted user input containing ANSI escape sequences can be injected into terminal output when logged and lead to terminal manipulation (bsc#1249015).
- CVE-2026-25541: bytes: integer overflow in
BytesMut:reservecan lead to undefined behavior and crashes (bsc#1274306). - CVE-2026-25727: time: parsing of user-provided input by the RFC 2822 date parser can lead to stack exhaustion (bsc#1257914).
- CVE-2026-72813: actix-files: empty
Rangeheader in GET requests for static files can lead to a process crash (bsc#1275210). - CVE-2026-72814: actix-files: non-existing folders passed as an argument to the
actix_files::Files::new()method can lead to information disclosure (bsc#1275209).
- Record
SUSE-SU-2026:23572-1- Updated
- 2026-11-02
Affected products
- red hat directory server 11
- red hat directory server 12
- red hat enterprise linux 10
- red hat enterprise linux 7
- red hat enterprise linux 8
- red hat enterprise linux 9
- red hat openshift ai (rhoai)
- red hat openshift container platform 4
- red hat satellite 6
- red hat trusted artifact signer
- red hat trusted profile analyzer
Affected packages
| Package | Affected | Fixed |
|---|---|---|
crossbeam-channelcrates.io |
0.5.12 up to 0.5.15 | 0.5.15 |
rustAzure Linux:3 |
before 1.75.0-16 | 1.75.0-16 |
389-ds-baseAzure Linux:3 |
through 3.1.1-12 | None known |
kata-containers-ccAzure Linux:3 |
before 3.15.0.aks0-15 | 3.15.0.aks0-15 |
rustAzure Linux:3 |
1.85.0 up to 1.86.0-3 | 1.86.0-3 |
azl-complianceAzure Linux:2 |
before 1.0.2-2 | 1.0.2-2 |
kata-containersAzure Linux:3 |
before 3.18.0.kata0-1 | 3.18.0.kata0-1 |
rust-crossbeam-channelDebian:13 |
before 0.5.15-1 | 0.5.15-1 |
rust-crossbeam-channelDebian:14 |
before 0.5.15-1 | 0.5.15-1 |
crossbeam-channelcrates.io |
0.5.12-0 up to 0.5.15 | 0.5.15 |
Show 14 moreShow less
| Package | Affected | Fixed |
|---|---|---|
python-maturinopenSUSE:Leap 15.6 From an advisory covering 2 CVEs |
before 1.4.0-150600.3.6.1 | 1.4.0-150600.3.6.1 |
cargo-cSUSE:Linux Enterprise Server 16.0 From an advisory covering 3 CVEs |
before 0.10.15-160000.1.1 | 0.10.15-160000.1.1 |
cargo-cSUSE:Linux Enterprise Server for SAP applications 16.0 From an advisory covering 3 CVEs |
before 0.10.15-160000.1.1 | 0.10.15-160000.1.1 |
gstreamer-devtoolsSUSE:Linux Enterprise Server 16.0 From an advisory covering 6 CVEs |
before 1.26.7-160000.2.1 | 1.26.7-160000.2.1 |
gstreamer-devtoolsSUSE:Linux Enterprise Server for SAP applications 16.0 From an advisory covering 6 CVEs |
before 1.26.7-160000.2.1 | 1.26.7-160000.2.1 |
rust-crossbeam-channelUbuntu:20.04:LTS |
All versions, plus listed versions 0.3.9-2 |
None known |
rust-crossbeam-channelUbuntu:22.04:LTS |
All versions, plus listed versions 0.4.4-1 |
None known |
rust-crossbeam-channelUbuntu:24.04:LTS |
All versions, plus listed versions 0.5.6-10.5.8-10.5.11-1 |
None known |
cargo-auditopenSUSE:Tumbleweed From an advisory covering 3 CVEs |
before 0.21.2~git0.18e58c2-2.1 | 0.21.2~git0.18e58c2-2.1 |
cargo-copenSUSE:Tumbleweed From an advisory covering 3 CVEs |
before 0.10.3~git0.ee7d7ef-4.1 | 0.10.3~git0.ee7d7ef-4.1 |
python-ruffopenSUSE:Tumbleweed |
before 0.16.10-1.1 | 0.16.10-1.1 |
zedopenSUSE:Tumbleweed From an advisory covering 11 CVEs |
before 1.24.2-1.1 | 1.24.2-1.1 |
cargo-copenSUSE:Leap 16.0 From an advisory covering 3 CVEs |
before 0.10.15-160000.1.1 | 0.10.15-160000.1.1 |
gstreamer-devtoolsopenSUSE:Leap 16.0 From an advisory covering 6 CVEs |
before 1.26.7-160000.2.1 | 1.26.7-160000.2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | EUVD, NVD, OSV | |
| facts | CVE List, OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-4574 is a medium vulnerability (CVSS 6.5) in Red Hat Directory Server 11, published April 8, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.56%, the 47th percentile. Fixed in crossbeam-channel 0.5.15.
References
access.redhat.com/security/cve/CVE-2025-4574
bugzilla.redhat.com/show_bug.cgi?id=2358890
github.com/advisories/GHSA-pg9f-39pc-qf8g
github.com/crossbeam-rs/crossbeam/pull/1187
rustsec.org/advisories/RUSTSEC-2025-0024.html
nvd.nist.gov/vuln/detail/CVE-2025-4574
Show 38 moreShow less
access.redhat.com/downloads/content/package-browser
github.com/CVEProject/cvelistV5/tree/main/cves/2025/4xxx/CVE-2025-4574.json
github.com/crossbeam-rs/crossbeam
security-tracker.debian.org/tracker/CVE-2025-4574
crates.io/crates/crossbeam-channel
suse.com/support/update/announcement/2025/suse-su-202501591-1
bugzilla.suse.com/1242631
bugzilla.suse.com/1243177
suse.com/security/cve/CVE-2025-3416
suse.com/security/cve/CVE-2025-4574
suse.com/support/update/announcement/2026/suse-su-202620096-1
bugzilla.suse.com/1243179
bugzilla.suse.com/1243851
bugzilla.suse.com/1249012
suse.com/security/cve/CVE-2024-12224
suse.com/security/cve/CVE-2025-58160
suse.com/support/update/announcement/2026/suse-su-202623572-1
bugzilla.suse.com/1243178
bugzilla.suse.com/1249015
bugzilla.suse.com/1257914
bugzilla.suse.com/1274306
bugzilla.suse.com/1275209
bugzilla.suse.com/1275210
suse.com/security/cve/CVE-2026-25541
suse.com/security/cve/CVE-2026-25727
suse.com/security/cve/CVE-2026-72813
suse.com/security/cve/CVE-2026-72814
ubuntu.com/security/CVE-2025-4574
cve.org/CVERecord?id=CVE-2025-4574
suse.com/security/cve/CVE-2024-39719
suse.com/security/cve/CVE-2024-39720
suse.com/security/cve/CVE-2024-39722
suse.com/security/cve/CVE-2025-62518
suse.com/security/cve/CVE-2026-27204
suse.com/security/cve/CVE-2026-34941
suse.com/security/cve/CVE-2026-34942
suse.com/security/cve/CVE-2026-53600
suse.com/security/cve/CVE-2026-93600