CVE-2023-33252
HIGH 7.5CVSS 3.1Double spend in snarkjs
iden3 snarkjs through 0.6.11 allows double spending because there is no validation that the publicSignals length is less than the field modulus.
- Published
- 21 May 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-862
- Also known as
- GHSA-xp5g-jhg3-3rg2
- Sources
- NVDJSONOSV GHSA-xp5g-jhg3-3rg2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | 0kims | snarkjscpe:2.3:a:0kims:snarkjs:*:*:*:*:*:*:*:* |
<= 0.6.11 | |
| OSV | npm | snarkjs | <= 0.6.11 |
References
- https://github.com/iden3/snarkjs/commits/master/src/groth16_verify.js · Product, WEB
- https://github.com/iden3/snarkjs/tags · Product, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-33252 · ADVISORY
- https://github.com/iden3/snarkjs · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 21 May 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 May 2023)