GHSA-9xfq-8j3r-xp5g: Duplicate Advisory Consensys Gnark-crypto Allows Signature Malleability Vulnerability

CRITICAL
CVSS 9.8
CWE-502
Published
Advisory Summary

GHSA-9xfq-8j3r-xp5g is a CRITICAL (CVSS 9.8) consensys gnark-crypto allows signature malleability vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Duplicate Advisory libraries in the Go ecosystem. The issue involves consensys gnark-crypto allows signature malleability. Remediation is available by upgrading affected packages to version 0.12.0.

GHSA-9xfq-8j3r-xp5g at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-9xfq-8j3r-xp5g
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Duplicate Advisory
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 9.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix GHSA-9xfq-8j3r-xp5g

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/Consensys/gnark-crypto fixed: 0.12.0
Upgrade github.com/Consensys/gnark-crypto to 0.12.0
github.com/consensys/gnark-crypto fixed: 0.12.0
Upgrade github.com/consensys/gnark-crypto to 0.12.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/Consensys/gnark-crypto

How to Check if You Are Affected

To determine whether your application is affected by GHSA-9xfq-8j3r-xp5g, inspect your project dependencies for Duplicate Advisory:

inspect dependencies for github.com/Consensys/gnark-crypto

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.12.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-fr8m-434r-g3xp. This link is maintained to preserve external references. ## Original Description Consensys gnark-crypto through 0.11.2 allows Signature Malleability. This occurs because deserialisation of EdDSA and ECDSA signatures does not ensure that the data is in a certain interval.

GHSA-9xfq-8j3r-xp5g Affected Duplicate Advisory Versions

2 component(s)
Fixed Versions:
0.12.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/Consensys/gnark-crypto
Go
< 0.12.0
0.12.0
github.com/consensys/gnark-crypto
Go
< 0.12.0
0.12.0

References

Frequently Asked Questions

What is GHSA-9xfq-8j3r-xp5g?
GHSA-9xfq-8j3r-xp5g is a security vulnerability in Duplicate Advisory involving Consensys gnark-crypto allows Signature Malleability under CWE-502: Deserialization of Untrusted Data.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 0.12.0 across affected packages: github.com/Consensys/gnark-crypto, github.com/consensys/gnark-crypto.
What version fixes GHSA-9xfq-8j3r-xp5g?
Upgrading to 0.12.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/Consensys/gnark-crypto affected?
Yes, github.com/Consensys/gnark-crypto is affected in releases prior to 0.12.0. Upgrade your dependency to 0.12.0 or later.
Is github.com/consensys/gnark-crypto affected?
Yes, github.com/consensys/gnark-crypto is affected in releases prior to 0.12.0. Upgrade your dependency to 0.12.0 or later.
What is the CVSS score of GHSA-9xfq-8j3r-xp5g?
GHSA-9xfq-8j3r-xp5g has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with GHSA-9xfq-8j3r-xp5g?
GHSA-9xfq-8j3r-xp5g is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check Go dependencies for GHSA-9xfq-8j3r-xp5g?
Run the dependency tree command: 'inspect dependencies for github.com/Consensys/gnark-crypto'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9xfq-8j3r-xp5g",
  "modified" : "2026-01-22T20:44:23Z",
  "published" : "2023-09-28T06:30:20Z",
  "withdrawn" : "2026-01-22T20:44:23Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Consensys gnark-crypto allows Signature Malleability",
  "details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-fr8m-434r-g3xp. This link is maintained to preserve external references.\n\n## Original Description\nConsensys gnark-crypto through 0.11.2 allows Signature Malleability. This occurs because deserialisation of EdDSA and ECDSA signatures does not ensure that the data is in a certain interval.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/Consensys/gnark-crypto"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.12.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/consensys/gnark-crypto"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.12.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-44273"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Consensys/gnark-crypto/pull/449"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Consensys/gnark-crypto"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Consensys/gnark-crypto/releases"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Consensys/gnark-crypto/releases/tag/v0.12.0"
  }, {
    "type" : "WEB",
    "url" : "https://verichains.io"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-09-28T16:42:58Z",
    "nvd_published_at" : "2023-09-28T04:15:12Z"
  }
}