Every CVE Search/ Get API key

CVE-2025-4574

Crossbeam-channel: crossbeam-channel vulnerable to double free on drop

6.5 MediumFix available

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

0.56%Up 0.5 points since May 14, 2025
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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_messages contained two paths that could lead to head.block being read but only one of them would swap the value. This meant that dicard_all_messages could end up observing a non-null block pointer (and therefore attempting to free it) without setting head.block to null. This would then lead to Channel::drop making 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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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_messages contained two paths that could lead to head.block being read but only one of them would swap the value. This meant that dicard_all_messages could end up observing a non-null block pointer (and therefore attempting to free it) without setting head.block to null. This would then lead to Channel::drop making 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 MediumCVSS: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 MediumCVSS: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 Channel type's Drop method 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:reserve can 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 Range header 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_messages contained two paths that could lead to head.block being read but only one of them would swap the value. This meant that dicard_all_messages could end up observing a non-null block pointer (and therefore attempting to free it) without setting head.block to null. This would then lead to Channel::drop making 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::fetch and Cipher::fetch when Some(...) value passed as properties argument to either function (bsc#1242631).
  • CVE-2025-4574: crossbeam-channel: double-free leading to possible memory corruption in Channel::drop when 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 Channel type's Drop method 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:reserve can 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 Range header 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

Affected packages

Affected packages
PackageAffectedFixed
crossbeam-channel
crates.io
0.5.12 up to 0.5.15
0.5.15
rust
Azure Linux:3
before 1.75.0-16
1.75.0-16
389-ds-base
Azure Linux:3
through 3.1.1-12 None known
kata-containers-cc
Azure Linux:3
before 3.15.0.aks0-15
3.15.0.aks0-15
rust
Azure Linux:3
1.85.0 up to 1.86.0-3
1.86.0-3
azl-compliance
Azure Linux:2
before 1.0.2-2
1.0.2-2
kata-containers
Azure Linux:3
before 3.18.0.kata0-1
3.18.0.kata0-1
rust-crossbeam-channel
Debian:13
before 0.5.15-1
0.5.15-1
rust-crossbeam-channel
Debian:14
before 0.5.15-1
0.5.15-1
crossbeam-channel
crates.io
0.5.12-0 up to 0.5.15
0.5.15
Show 14 moreShow less
Affected packages
PackageAffectedFixed
python-maturin
openSUSE: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-c
SUSE: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-c
SUSE: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-devtools
SUSE: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-devtools
SUSE: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-channel
Ubuntu:20.04:LTS
All versions, plus listed versions
0.3.9-2
None known
rust-crossbeam-channel
Ubuntu:22.04:LTS
All versions, plus listed versions
0.4.4-1
None known
rust-crossbeam-channel
Ubuntu:24.04:LTS
All versions, plus listed versions
0.5.6-10.5.8-10.5.11-1
None known
cargo-audit
openSUSE:Tumbleweed
From an advisory covering 3 CVEs
before 0.21.2~git0.18e58c2-2.1
0.21.2~git0.18e58c2-2.1
cargo-c
openSUSE:Tumbleweed
From an advisory covering 3 CVEs
before 0.10.3~git0.ee7d7ef-4.1
0.10.3~git0.ee7d7ef-4.1
python-ruff
openSUSE:Tumbleweed
before 0.16.10-1.1
0.16.10-1.1
zed
openSUSE:Tumbleweed
From an advisory covering 11 CVEs
before 1.24.2-1.1
1.24.2-1.1
cargo-c
openSUSE:Leap 16.0
From an advisory covering 3 CVEs
before 0.10.15-160000.1.1
0.10.15-160000.1.1
gstreamer-devtools
openSUSE:Leap 16.0
From an advisory covering 6 CVEs
before 1.26.7-160000.2.1
1.26.7-160000.2.1

History

History
RecordedChangedSources
affectedEUVD, NVD, OSV
factsCVE List, OSV
first indexedCVE 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

Show 38 moreShow less
MoveEnter Open