CVE-2023-26556
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 · uneditedio.finnet tss-lib before 2.0.0 can leak a secret key via a timing side-channel attack because it relies on the scalar-multiplication implementation in Go crypto/elliptic, which is not constant time (there is an if statement in a loop). One leak is in ecdsa/keygen/round_2.go. (bnb-chain/tss-lib and thorchain/tss are also affected.)
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 · high confidenceThe tss-lib library before version 2.0.0 uses Go's crypto/elliptic package for scalar multiplication in ECDSA key generation (ecdsa/keygen/round_2.go). This implementation contains a timing-sensitive if statement inside a loop, allowing attackers to leak secret key material through timing side-channel analysis. The vulnerability affects io.finnet tss-lib, bnb-chain/tss-lib, and thorchain/tss.
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< 2.0.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
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
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 tss-lib dependencyCheck your go.mod file for any dependency on tss-lib (io.finnet/tss-lib, bnb-chain/tss-lib, or thorchain/tss) and note its versionAffected if The version listed is below 2.0.0
-
Locate affected source fileSearch for the file ecdsa/keygen/round_2.go in your project or dependency treeAffected if This file exists and uses Go's crypto/elliptic package for scalar multiplication
-
Check for vulnerable crypto/elliptic usageInspect ecdsa/keygen/round_2.go for imports or usage of crypto/elliptic (such as elliptic.P256() or similar)Affected if The code imports or calls crypto/elliptic for ECDSA operations
-
Verify timing-sensitive code patternSearch the round_2.go file for if statements inside loops that operate on secret key material (look for conditional logic on scalar values during multiplication)Affected if A timing-sensitive if statement exists inside a loop performing scalar multiplication on secret data
Your environment is affected if you use a tss-lib version below 2.0.0 and your codebase contains the vulnerable ecdsa/keygen/round_2.go file using crypto/elliptic for ECDSA key generation.
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 · scoped2.0.0
Replace the non-constant-time scalar multiplication from Go crypto/elliptic with a constant-time implementation (such as crypto/elliptic.P256's constant-time methods or a third-party constant-time library) in all affected code paths including ECDSA key generation round 2.
2.0.0
- Check the current version of tss-lib in use by examining go.mod or dependency files
- Update the tss-lib dependency to version 2.0.0 or later (e.g., go get github.com/finnetchain/tss-lib/[email protected] or later)
- Verify the upgrade by running go mod tidy and go mod verify
- Test the upgrade in a non-production environment to ensure compatibility
- Deploy the updated version to production
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,696.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2023-26556 — 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-2023-26556 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