GHSA-h24c-6p6p-m3vx
tss-lib leaks secret keys in response to incorrectly constructed Paillier moduli
Impact
The specification of the GG18 threshold ECDSA signature protocol contains a vulnerability allowing an attacker to recover the shared secret key. If a participant generates a Paillier modulus N containing small factors (less than 2^100) they can interact with other participants in the signing protocol to steal their secret key shares in as little as sixteen signing attempts. The master key can then be reconstructed from these shares.
Patches
The implementation of GG18 in tss-lib did not prove that N is biprime or that it doesn't contain small factors. The fixed implementation adds the following proofs from the CGGMP21 threshold ECDSA protocol to the key generation:
- Paillier-Blum Modulus (
Nis the product of two primes) - No Small Factor (both factors of
Nare greater than2^256)
These proofs apply to both the Paillier encryption modulus N, and the modulus NTilde used in MTA proofs.
To address the issue in the resharing protocol, an additional round has been added to the end so that participants can confirm that they received valid proofs.
References
What each source reports
GitHub AdvisoriesNo score
tss-lib leaks secret keys in response to incorrectly constructed Paillier moduli
Impact
The specification of the GG18 threshold ECDSA signature protocol contains a vulnerability allowing an attacker to recover the shared secret key. If a participant generates a Paillier modulus N containing small factors (less than 2^100) they can interact with other participants in the signing protocol to steal their secret key shares in as little as sixteen signing attempts. The master key can then be reconstructed from these shares.
Patches
The implementation of GG18 in tss-lib did not prove that N is biprime or that it doesn't contain small factors. The fixed implementation adds the following proofs from the CGGMP21 threshold ECDSA protocol to the key generation:
- Paillier-Blum Modulus (
Nis the product of two primes) - No Small Factor (both factors of
Nare greater than2^256)
These proofs apply to both the Paillier encryption modulus N, and the modulus NTilde used in MTA proofs.
To address the issue in the resharing protocol, an additional round has been added to the end so that participants can confirm that they received valid proofs.
References
- Record
GHSA-h24c-6p6p-m3vx- Weakness
- CWE-200
- Updated
- 2026-11-02
OSVNo score
tss-lib leaks secret keys in response to incorrectly constructed Paillier moduli
Impact
The specification of the GG18 threshold ECDSA signature protocol contains a vulnerability allowing an attacker to recover the shared secret key. If a participant generates a Paillier modulus N containing small factors (less than 2^100) they can interact with other participants in the signing protocol to steal their secret key shares in as little as sixteen signing attempts. The master key can then be reconstructed from these shares.
Patches
The implementation of GG18 in tss-lib did not prove that N is biprime or that it doesn't contain small factors. The fixed implementation adds the following proofs from the CGGMP21 threshold ECDSA protocol to the key generation:
- Paillier-Blum Modulus (
Nis the product of two primes) - No Small Factor (both factors of
Nare greater than2^256)
These proofs apply to both the Paillier encryption modulus N, and the modulus NTilde used in MTA proofs.
To address the issue in the resharing protocol, an additional round has been added to the end so that participants can confirm that they received valid proofs.
References
- Record
GHSA-h24c-6p6p-m3vx- Weakness
- CWE-200
- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/bnb-chain/tss-libGo | through 1.3.5 | None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
GHSA-h24c-6p6p-m3vx is a vulnerability with no CVSS score yet in github.com/bnb-chain/tss-lib, published September 1, 2023. No source lists public exploit code. No source names a fixed version.