Skip to main content
VulnerabilityPublished

CVE-2025-65947: Thread amount · Resource Exhaustion (Memory and Handle Leaks) on Windows and macOS

Affects thread-amountSource GCVE Database

0
Compare
Authoritative record:CVE-2025-65947· High 8.7

Not known to be exploited · CVSS 8.7 High : upgrade to 0.2.2 soon.

Data as of 15 Nov 2026, 01:54 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.2.2
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 14 Nov 2026.

What to do

Upgrade thread-amount to 0.2.2.

Affected software

ProductAffectedFixed in
crates.iothread-amountpkg:cargo/thread-amountOther threatsAffected
  • >=0.0.0-0 <0.2.2
Fixed in
  • 0.2.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to thread-amount crate version 0.2.2 or later, which properly releases OS resources and fixes the resource leaks. No other mitigation is required.

Description

The thread-amount crate versions prior to 0.2.2 have resource leaks on Windows and macOS platforms when querying thread counts. On Windows, handles returned by CreateToolhelp32Snapshot are not closed, causing handle leaks. On macOS/iOS, memory allocated by task_threads is not deallocated, causing memory leaks. Long-running applications using this crate may crash due to resource exhaustion. Version 0.2.2 fixes these issues by properly releasing OS resources.

References

Community reviews

Loading reviews…