CVE-2014-4502
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedMultiple heap-based buffer overflows in the parse_notify function in sgminer before 4.2.2, cgminer before 4.3.5, and BFGMiner before 4.1.0 allow remote pool servers to have unspecified impact via a (1) large or (2) negative value in the Extranonc2_size parameter in a mining.subscribe response and a crafted mining.notify request.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceHeap-based buffer overflow in the parse_notify function of multiple cryptocurrency mining software (sgminer, cgminer, BFGMiner). Malicious pool servers can send a large or negative Extranonc2_size value in mining.subscribe responses, followed by crafted mining.notify requests, causing memory corruption that could lead to remote code execution on connected miner clients.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data<= 4.0.0<= 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<= 4.2.1= 4.0.0= 4.1.0= 4.1.153= 4.1.242= 4.1.271= 4.2.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
AV:N/AC:L/Au:N/C:C/I:C/A:C
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed mining softwareRun 'bfgminer --version', 'sgminer --version', or 'cgminer --version' to determine which miner is present and its version numberAffected if The version returned matches any of the affected versions: BFGMiner <=4.0.0 or <=3.2.9 or 3.2.0-3.2.8; Sgminer <=4.2.1 or 4.0.0, 4.1.0, 4.1.153, 4.1.242, 4.1.271, or 4.2.0; or any unpatched cgminer version
-
Check miner configuration for pool connectionsExamine the miner's configuration file or running parameters for pool server URLs. Common locations: config files in /etc, ~/.cgminer/, ~/.bfgminer/, or command-line -o pool argumentsAffected if The miner is configured to connect to remote pool servers, especially ones that are not explicitly trusted
-
Verify miner process behaviorMonitor running miner process for unexpected termination or check system logs for crash reports related to the mining softwareAffected if The miner is crashing repeatedly or producing segmentation fault errors in logs
You are affected if you are running any version of BFGMiner, sgminer, or cgminer within the affected ranges AND your miner connects to pool servers, because the vulnerability is triggered by malicious pool servers sending specially crafted responses.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to sgminer 4.2.2+, cgminer 4.3.5+, or BFGMiner 4.1.0+ which contain bounds checking on the Extranonc2_size parameter. If upgrading is not possible, use trusted pool servers only and monitor for unexpected miner crashes.
bfgminer 4.1.0+ / sgminer 4.2.2+ / cgminer 4.3.5+ (depending on which software is in use)
- 1. Identify which mining software is in use (bfgminer, sgminer, or cgminer) by checking the installed binary or package.
- 2. Check the current version of the mining software using --version or -V flag.
- 3. For bfgminer users: Upgrade to version 4.1.0 or later.
- 4. For sgminer users: Upgrade to version 4.2.2 or later.
- 5. For cgminer users: Upgrade to version 4.3.5 or later.
- 6. Obtain the upgraded binary from the official project repository or trusted package manager.
- 7. Stop the currently running mining software.
- 8. Replace the old binary with the new version.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing5.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,464.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2014-4502 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2014-4502 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data