CVE Explorer
CVE-2025-65947
thread-amount is a tool that gets the amount of threads in the current process. Prior to version 0.2.2, there are resource leaks when querying thread counts on Windows and Apple platforms. In Windows platforms, the thread_amount function calls CreateToolhelp32Snapshot but fails to close the returned HANDLE using CloseHandle. Repeated calls to this function will cause the handle count of the process to grow indefinitely, eventually leading to system instability or process termination when the han
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-400","description":"CWE-400: Uncontrolled Resource Consumption","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c0047ed50ef5fc99cf12cd841e5682ddd7ae971d087561613f2ff7c77d0ead33 · sha256:df3b6201116cc4ee… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-772","description":"CWE-772: Missing Release of Resource after Effective Lifetime","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c0047ed50ef5fc99cf12cd841e5682ddd7ae971d087561613f2ff7c77d0ead33 · sha256:df3b6201116cc4ee… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"thread-amount","vendor":"jzeuzs","versions":[{"status":"affected","version":"< 0.2.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:c0047ed50ef5fc99cf12cd841e5682ddd7ae971d087561613f2ff7c77d0ead33 · sha256:df3b6201116cc4ee… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.7,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:c0047ed50ef5fc99cf12cd841e5682ddd7ae971d087561613f2ff7c77d0ead33 · sha256:df3b6201116cc4ee… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-400","description":"CWE-400: Uncontrolled Resource Consumption","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c0047ed50ef5fc99cf12cd841e5682ddd7ae971d087561613f2ff7c77d0ead33 · sha256:df3b6201116cc4ee… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-772","description":"CWE-772: Missing Release of Resource after Effective Lifetime","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c0047ed50ef5fc99cf12cd841e5682ddd7ae971d087561613f2ff7c77d0ead33 · sha256:df3b6201116cc4ee… · /containers/cna/problemTypes/1/descriptions/0
Source references
3 source assertions{"name":"https://github.com/jzeuzs/thread-amount/commit/28860d4a38286609cb884c13b5b7941edc2390e5","tags":["x_refsource_MISC"],"url":"https://github.com/jzeuzs/thread-amount/commit/28860d4a38286609cb884c13b5b7941edc2390e5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c0047ed50ef5fc99cf12cd841e5682ddd7ae971d087561613f2ff7c77d0ead33 · sha256:df3b6201116cc4ee… · /containers/cna/references/2
{"name":"https://github.com/jzeuzs/thread-amount/pull/29","tags":["x_refsource_MISC"],"url":"https://github.com/jzeuzs/thread-amount/pull/29"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c0047ed50ef5fc99cf12cd841e5682ddd7ae971d087561613f2ff7c77d0ead33 · sha256:df3b6201116cc4ee… · /containers/cna/references/1
{"name":"https://github.com/jzeuzs/thread-amount/security/advisories/GHSA-jf9p-2fv9-2jp2","tags":["x_refsource_CONFIRM"],"url":"https://github.com/jzeuzs/thread-amount/security/advisories/GHSA-jf9p-2fv9-2jp2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c0047ed50ef5fc99cf12cd841e5682ddd7ae971d087561613f2ff7c77d0ead33 · sha256:df3b6201116cc4ee… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.