Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. thread-amount
  4. ›
  5. CVE-2025-65947

CVE-2025-65947: thread-amount Vulnerable to Resource Exhaustion (Memory and Handle Leaks) on Windows and macOS

November 21, 2025 (updated November 27, 2025)

Affected versions of this crate contain resource leaks when querying thread counts on Windows and Apple platforms.

References

  • github.com/advisories/GHSA-jf9p-2fv9-2jp2
  • github.com/jzeuzs/thread-amount
  • github.com/jzeuzs/thread-amount/commit/28860d4a38286609cb884c13b5b7941edc2390e5
  • github.com/jzeuzs/thread-amount/pull/29
  • github.com/jzeuzs/thread-amount/security/advisories/GHSA-jf9p-2fv9-2jp2
  • nvd.nist.gov/vuln/detail/CVE-2025-65947
  • rustsec.org/advisories/RUSTSEC-2025-0125.html

Code Behaviors & Features

Detect and mitigate CVE-2025-65947 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.2.2

Fixed versions

  • 0.2.2

Solution

Upgrade to version 0.2.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-772: Missing Release of Resource after Effective Lifetime

Source file

cargo/thread-amount/CVE-2025-65947.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 11 Dec 2025 00:18:40 +0000.