CVE-2023-26557 json
IO FinNet tss-lib vulnerable to timing attack from non-constant time scalar arithmetic
published 2023-04-21 3 y ago modified 2026-06-17 4 mo ago also GHSA-mjqv-xhgm-gx8c , GO-2023-1733 , EUVD-2023-1438
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
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.)
Patch / fix
- go github.com/bnb-chain/tss-lib 1.3.6-0.20230324145555-bb6fb30bd3eb
- go github.com/binance-chain/tss-lib 1.3.6-0.20230324145555-bb6fb30bd3eb
- iofinnet tss-lib 2.0.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 21 mo ago
Exploit prediction
0.86% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/bnb-chain/tss-lib | <1.3.6-0.20230324145555-bb6fb30bd3eb |
1.3.6-0.20230324145555-bb6fb30bd3eb |
| go | github.com/binance-chain/tss-lib | <1.3.6-0.20230324145555-bb6fb30bd3eb all versions |
1.3.6-0.20230324145555-bb6fb30bd3eb |
Classification
- Weakness
-
- CWE-203 Observable Discrepancy
References
-
github.com
/IoFinnet/tss-lib/releases/tag/v2.0.0
web, release-notes
-
github.com
/bnb-chain/tss-lib/tree/v1.3.5
web, product
-
gitlab.com
/thorchain/tss/tss-lib/-/tags/v0.1.3
web, release-notes
- medium.com /%40iofinnet/security-disclosure-for-ecdsa-and-eddsa-threshold-signature-schemes-4e969af7155b
-
nvd.nist.gov
/vuln/detail/CVE-2023-26557
advisory
-
github.com
/bnb-chain/tss-lib
package
-
medium.com
/@iofinnet/security-disclosure-for-ecdsa-and-eddsa-threshold-signature-schemes-4e969af7155b
web, advisory
-
pkg.go.dev
/vuln/GO-2023-1733
web
Sources
- CVE List CVE-2023-26557
- GitHub Advisory GHSA-mjqv-xhgm-gx8c
- NVD CVE-2023-26557
- OSV GO-2023-1733
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.