{"answers":{"affected":"3 open source packages ship an affected version, including crossbeam-channel.","exploited":"There is no known exploitation of CVE-2025-4574 in the wild and no public exploit code.","fix":"Upgrade crossbeam-channel to 0.5.15 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2025-4574 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2025-4574 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- crossbeam-channel (crates.io): affected from 0.5.12; fixed in 0.5.15\n- crossbeam-channel (crates.io): affected from 0.5.12; fixed in 0.5.15\n- crossbeam-channel (crates.io): affected from 0.5.12-0; fixed in 0.5.15\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-4574/ (Markdown: https://insights.sbomify.com/CVE-2025-4574/index.md)","id":"CVE-2025-4574","markdown":"https://insights.sbomify.com/CVE-2025-4574/index.md","name":"CVE-2025-4574","record":{"aliases":["AZL-61830","AZL-61835","AZL-61839","AZL-61845","AZL-61848","AZL-61855","CLEANSTART-2025-KZ08626","DEBIAN-CVE-2025-4574","GHSA-pg9f-39pc-qf8g","MINI-4xpj-qx9m-hq4f","RUSTSEC-2025-0024","TROVE-2025-013","UBUNTU-CVE-2025-4574","openSUSE-SU-2026:12042-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Rust channel library","requires_auth":"none","summary":"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.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-415","name":"Double Free"}],"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.","ecosystems":["crates.io","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Crossbeam-channel: crossbeam-channel vulnerable to double free on drop","id":"CVE-2025-4574","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"use_after_free","year":"2025"},"n_packages":4,"n_references":4,"next":{"headline":"The x509 application adds trusted use instead of rejected use","id":"CVE-2025-4575"},"packages":[{"ecosystem":"crates.io","fixed":["0.5.15"],"introduced":["0.5.12"],"last_affected":[],"package":"crossbeam-channel","purl":null,"source":"GHSA-pg9f-39pc-qf8g"},{"ecosystem":"crates.io","fixed":["0.5.15"],"introduced":["0.5.12"],"last_affected":[],"package":"crossbeam-channel","purl":"pkg:cargo/crossbeam-channel","source":"GHSA-pg9f-39pc-qf8g"},{"ecosystem":"crates.io","fixed":["0.5.15"],"introduced":["0.5.12-0"],"last_affected":[],"package":"crossbeam-channel","purl":"pkg:cargo/crossbeam-channel","source":"RUSTSEC-2025-0024"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.16.10-1.1"],"introduced":["0"],"last_affected":[],"package":"python-ruff","purl":"pkg:rpm/opensuse/python-ruff\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:12042-1"}],"prev":{"headline":"LDAP Injection in Mattermost Enterprise Edition When Using Active Directory","id":"CVE-2025-4573"},"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"],"published":"2025-05-13","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-30","vendors":["Red Hat"]},"summary":"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.","url":"https://insights.sbomify.com/CVE-2025-4574/"}