Double Free Affecting cargo-c package, versions <0.10.12-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.56% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-CARGOC-13319597
  • published6 Oct 2025
  • disclosed13 May 2025

Introduced: 13 May 2025

CVE-2025-4574  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade Minimos:latest cargo-c to version 0.10.12-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cargo-c package and not the cargo-c package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1