← Back to CVEs
CVE-2024-50354
MEDIUM5.5
Description
gnark is a fast zk-SNARK library that offers a high-level API to design circuits. In gnark 0.11.0 and earlier, deserialization of Groth16 verification keys allocate excessive memory, consuming a lot of resources and triggering a crash with the error fatal error: runtime: out of memory.
CVE Details
CVSS v3.1 Score5.5
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack VectorLOCAL
ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
Published10/31/2024
Last Modified9/23/2025
Sourcenvd
Honeypot Sightings0
Affected Products
consensys:gnark
Weaknesses (CWE)
CWE-400
References
https://github.com/Consensys/gnark/commit/47ae846339add2bdf9983e499342bfdfe195191d(security-advisories@github.com)
https://github.com/Consensys/gnark/pull/1307(security-advisories@github.com)
https://github.com/Consensys/gnark/security/advisories/GHSA-cph5-3pgr-c82g(security-advisories@github.com)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.