Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
jzeuzs thread-amount
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

thread-amount是jez个人开发者的一个获取当前进程中的线程数量的工具。 thread-amount 0.2.2之前版本存在安全漏洞,该漏洞源于资源泄漏,可能导致系统不稳定或进程终止。

AI Predicted 5.3 Difficulty: Easy EPSS 0.35% · P28

Possible ATT&CK Techniques 1 AI

T1569.001 · Launchctl
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-65947

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
thread-amount is Vulnerable to Resource Exhaustion (Memory and Handle Leaks) on Windows and macOS
Source: CVE Program / CVE List V5
Vulnerability Description
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 handle limit is reached. In Apple platforms, the thread_amount function calls task_threads (via Mach kernel APIs) which allocates memory for the thread list. The function fails to deallocate this memory using vm_deallocate. Repeated calls will result in a steady memory leak, eventually causing the process to be killed by the OOM (Out of Memory) killer. This issue has been patched in version 0.2.2.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5
Vulnerability Title
thread-amount 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
thread-amount是jez个人开发者的一个获取当前进程中的线程数量的工具。 thread-amount 0.2.2之前版本存在安全漏洞,该漏洞源于资源泄漏,可能导致系统不稳定或进程终止。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
jzeuzs thread-amount < 0.2.2 -

II. Public POCs for CVE-2025-65947

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-65947

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2025-65947

No comments yet


Leave a comment