CVE-2023-44273 Duplicate Advisory: Consensys gnark-crypto allows Signature Malleability

Critical 9.8 Published Updated

Attackers can exploit signature malleability in gnark-crypto by bypassing interval checks during EdDSA and ECDSA signature deserialization.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-44273?

CVE-2023-44273 is a critical unsafe deserialization vulnerability in n/a, published on 28 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-502

Which versions are affected by CVE-2023-44273?

8 open source packages ship an affected version, including github.com/consensys/gnark-crypto and github.com/Consensys/gnark-crypto. It affects 1 product.

PackageAffectedFixed in
github.com/consensys/gnark-crypto GoAll versions0.12.0
github.com/consensys/gnark-crypto GoAll versions0.12.0
github.com/consensys/gnark-crypto GoAll versions0.12.0
github.com/consensys/gnark-crypto GoAll versions0.12.0
github.com/consensys/gnark-crypto GoAll versions0.12.0
github.com/consensys/gnark-crypto GoAll versions0.12.0
2 more packages
github.com/Consensys/gnark-crypto GoAll versions0.12.0
github.com/Consensys/gnark-crypto GoAll versions0.12.0

Products include Consensys Gnark-Crypto.

How do I fix CVE-2023-44273?

Upgrade github.com/consensys/gnark-crypto to 0.12.0 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2023-44273 being exploited?

There is no known exploitation of CVE-2023-44273 in the wild and no public exploit code.

Sources

Also known as GHSA-9xfq-8j3r-xp5g, GHSA-fr8m-434r-g3xp, GO-2023-2096, GO-2025-4027.

Is CVE-2023-44273 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free