Is github.com/consensys/gnark 0.12 vulnerable?

Go · 1 release from 0.12.0 to 0.12.0 · latest github.com/consensys/gnark is 0.16.5 · checked 18 Nov 2026

Yes: 4 known advisories

Yes. github.com/consensys/gnark 0.12.0, the last 0.12 release, is affected by 4 known security advisories (2 high, 2 low), including CVE-2025-58157, CVE-2025-57801, CVE-2025-58157. Upgrade to 0.14.0 or later to fix all of them.

Upgrade with:go get github.com/consensys/gnark@v0.14.0

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

Advisories affecting github.com/consensys/gnark 0.12.0

  • 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

Which of your client projects are still on github.com/consensys/gnark 0.12?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact github.com/consensys/gnark version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other github.com/consensys/gnark versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Go registry. Refreshed daily.