Read the docs
TI-2022-26659 Aliases GHSA-x279-68rr-jp4p

Blst vulnerable to incorrect results for some inputs in blst_fp_eucl_inverse function

Priority LOW 38Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

### Impact Blst versions v0.3.0 to v0.3.2 can produce the incorrect outputs for some inputs to the blst_fp_eucl_inverse function. This could theoretically result in the creation of an invalid signature from correct inputs. However, fuzzing of higher level functions such as sign and verify were unable to produce incorrect results and there has been no reported occurrences of this issue being encountered in production use. ### Description During the course of differential fuzzing of the blst library by @guidovranken it was discovered that blst would produce the incorrect result for some input values in the inverse function. This was the result of the introduction of a new inversion formula in version v0.3.0. This source of these incorrect outputs was due to two issues: 1. The amount of inner loop iterations was not sufficient for the algorithm to converge. 2. It was erroneously assumed that the absolute value of the intermediate result would be capped at 767-bits. As a result, some output values were truncated by one bit or the most significant bit was misinterpreted as the sign. ### Patches This issue has been resolved in the v0.3.3 release and users are recommended to upgrade immediately. ### References The software used to uncover this issue can be found [here](https://github.com/guidovranken/cryptofuzz). ### Credits A special thanks to Guido Vranken (@guidovranken) for his discovery and disclosure of this vulnerability. ### For more information If you have any questions or comments about this advisory please email us at [[email protected]](mailto:[email protected])

Why it matters now

Fix Fixed github.com/supranational/blst (Go): 0.3.3

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—github.com/supranational/blst (Go)0.3.0 to before 0.3.30.3.3Patch availableGHSA-x279-68rr-jp4p
  • github.com/supranational/blst (Go) Vendor— Affected 0.3.0 to before 0.3.3 Fixed in 0.3.3 Patch available GHSA-x279-68rr-jp4p

Remediation

  • Fix · GHSA-x279-68rr-jp4p github.com/supranational/blst (Go) Fixed in 0.3.3 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-x279-68rr-jp4p

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences