Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
10.0
CVE-2014-4501: sgminer, cgminer and BFGMiner can be crashed by long URLs
CVE-2014-4501 · published 12 years ago
Summary
Older versions of sgminer (before 4.2.2), cgminer (before 4.3.5) and BFGMiner (before 3.3.0) may stop working when a mining pool sends a very long URL in a reconnect message. This can cause the software to freeze or shut down, interrupting mining operations. Upgrade to the latest releases of each program to protect against this issue.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| sgminer_project | sgminer |
<= 4.2.1 4.0.0 4.1.0 4.1.153 4.1.242 4.1.271 4.2.0 cpe:2.3:a:sgminer_project:sgminer:*:*:*:*:*:*:*:* |
| cgminer_project | cgminer |
<= 4.3.4 4.3.0 4.3.1 4.3.2 4.3.3 cpe:2.3:a:cgminer_project:cgminer:*:*:*:*:*:*:*:* |
| bfgminer | bfgminer |
<= 3.2.9 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 cpe:2.3:a:bfgminer:bfgminer:*:*:*:*:*:*:*:* |
Original advisory text
Multiple stack-based buffer overflows in sgminer before 4.2.2, cgminer before 4.3.5, and BFGMiner before 3.3.0 allow remote pool servers to have unspecified impact via a long URL in a client.reconn...
Multiple stack-based buffer overflows in sgminer before 4.2.2, cgminer before 4.3.5, and BFGMiner before 3.3.0 allow remote pool servers to have unspecified impact via a long URL in a client.reconnect stratum message to the (1) extract_sockaddr or (2) parse_reconnect functions in util.c.
References
- http://seclists.org/fulldisclosure/2014/Jul/118
- https://github.com/ckolivas/cgminer/commit/e1c5050734123973b99d181c45e74b2cbb002... Exploit Patch
- https://github.com/luke-jr/bfgminer/commit/c80ad8548251eb0e15329fc240c89070640c9... Patch
- https://github.com/sgminer-dev/sgminer/commit/78cc408369bdbbd440196c93574098d148... Exploit Patch
- https://github.com/sgminer-dev/sgminer/commit/b65574bef233474e915fdf18614aa211e3... Patch
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker full control (estimated)
Severity
10.0
Critical
Type
CWE-119Buffer Overflow
Timeline
Published23 Jul 2014
Updated31 Oct 2026
First seen29 Sep 2026
Sources
CVE-2014-4501 · NVD
Track software like this
Free during beta