github.com/consensys/gnark vulnerabilities

Registry
Go
Latest
0.16.5

16 known advisories

The latest version, 0.16.5, is not affected by any of them. Projects on older versions may be.

Update to the latest version:go get github.com/consensys/gnark@v0.16.5

Is your project on an affected github.com/consensys/gnark?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for github.com/consensys/gnark

  • LowCVE-2025-58157GO-2025-392917 Sept 2025

    Denial of service when computing scalar multiplication using fake-GLV algorithm in github.com/consensys/gnark

    Affected
    <0.13.0
    Fixed in
    0.13.0
  • HighCVE-2025-58157GHSA-9fvj-xqr2-xwg829 Aug 2025

    gnark affected by denial of service when computing scalar multiplication using fake-GLV algorithm

    Affected
    >=0.12.0 <0.13.0
    Fixed in
    0.13.0
  • LowCVE-2025-57801GO-2025-391229 Aug 2025

    Gnark is vulnerable to signature malleability in EdDSA and ECDSA due to missing scalar checks in github.com/consensys/gnark

    Affected
    <0.14.0
    Fixed in
    0.14.0
  • HighCVE-2025-57801GHSA-95v9-hv42-pwrj22 Aug 2025

    gnark is vulnerable to signature malleability in EdDSA and ECDSA due to missing scalar checks

    Affected
    <0.14.0
    Fixed in
    0.14.0
  • LowCVE-2024-45039GO-2024-312220 Nov 2024

    Groth16 commitment extension unsound for more than one commitment in github.com/consensys/gnark

    Affected
    <0.11.0
    Fixed in
    0.11.0
  • LowCVE-2024-50354GO-2024-32441 Nov 2024

    Gnark out-of-memory during deserialization with crafted inputs in github.com/consensys/gnark

    Affected
    <0.12.0
    Fixed in
    0.12.0
  • MediumCVE-2024-50354GHSA-cph5-3pgr-c82g31 Oct 2024

    Gnark out-of-memory during deserialization with crafted inputs

    Affected
    <0.11.1
    Fixed in
    0.11.1
  • LowCVE-2024-45040GO-2024-312313 Sept 2024

    Commitments to private witnesses in Groth16 as implemented break zero-knowledge property in github.com/consensys/gnark

    Affected
    <0.11.0
    Fixed in
    0.11.0
  • MediumCVE-2024-45039GHSA-q3hw-3gm4-w5cr6 Sept 2024

    gnark's Groth16 commitment extension unsound for more than one commitment

    Affected
    <0.11.0
    Fixed in
    0.11.0
  • HighCVE-2024-45040GHSA-9xcg-3q8v-7fq66 Sept 2024

    gnark commitments to private witnesses in Groth16 as implemented break zero-knowledge property

    Affected
    <0.11.0 · <0.11.0
    Fixed in
    0.11.0
  • LowGO-2023-233315 Nov 2023

    Range checker gadget allows wider inputs than allowed in github.com/consensys/gnark

    Affected
    <0.9.2-0.20231110170422-f528807119e9
    Fixed in
    0.9.2-0.20231110170422-f528807119e9
  • LowGHSA-rjjm-x32p-m3f712 Nov 2023

    gnark's range checker gadget allows wider inputs up to word alignment

    Affected
    <0.9.2
    Fixed in
    0.9.2
  • LowGO-2023-211924 Oct 2023

    Proof forgery due to insufficient randomness in github.com/consensys/gnark

    Affected
    <0.9.1
    Fixed in
    0.9.1
  • CriticalGHSA-7p92-x423-vwj617 Oct 2023

    Plonk verifier KZG multi point verification

    Affected
    <0.9.1
    Fixed in
    0.9.1
  • LowCVE-2023-44378GO-2023-20989 Oct 2023

    Unsoundness in variable comparison / non-unique binary decomposition in github.com/consensys/gnark

    Affected
    <0.9.0
    Fixed in
    0.9.0
  • MediumCVE-2023-44378GHSA-498w-5j49-vqjg4 Oct 2023

    gnark unsoundness in variable comparison / non-unique binary decomposition

    Affected
    <0.9.0
    Fixed in
    0.9.0

Is your github.com/consensys/gnark version vulnerable?

Which of your client projects still run an old github.com/consensys/gnark?

NPMscan reads the go.mod in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Go packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Go registry.