{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-35961","published":"2022-08-15T11:21:39.937000Z","last_modified":"2026-06-17T04:52:36.397000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-354"],"cpes":[{"criteria":"cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:*","part":"a","vendor":"openzeppelin","product":"contracts","version_start_including":"4.1.0","version_end_excluding":"4.7.3"},{"criteria":"cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:*","part":"a","vendor":"openzeppelin","product":"contracts_upgradeable","version_start_including":"4.1.0","version_end_excluding":"4.7.3"}],"cpes_truncated":false,"vendors":["openzeppelin"],"products":["openzeppelin/contracts","openzeppelin/contracts_upgradeable"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.00524,"percentile":0.3787,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4h98-2769-gh6h","ecosystem":"npm","name":"@openzeppelin/contracts","purl":"pkg:npm/%40openzeppelin/contracts","ranges":[{"introduced":"4.1.0","fixed":"4.7.3"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-4h98-2769-gh6h","ecosystem":"npm","name":"@openzeppelin/contracts-upgradeable","purl":"pkg:npm/%40openzeppelin/contracts-upgradeable","ranges":[{"introduced":"4.1.0","fixed":"4.7.3"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2022-35961/","html_en":"/en/cve/CVE-2022-35961/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-35961","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-35961"},"untrusted":{"vendor_name":"Openzeppelin","product_name":"Contracts","desc_en":"OpenZeppelin Contracts is a library for secure smart contract development. The functions `ECDSA.recover` and `ECDSA.tryRecover` are vulnerable to a kind of signature malleability due to accepting EIP-2098 compact signatures in addition to the traditional 65 byte signature format. This is only an issue for the functions that take a single `bytes` argument, and not the functions that take `r, v, s` or `r, vs` as separate arguments. The potentially affected contracts are those that implement signature reuse or replay protection by marking the signature itself as used rather than the signed message or a nonce included in it. A user may take a signature that has already been submitted, submit it again in a different form, and bypass this protection. The issue has been patched in 4.7.3.","affected":[{"untrusted_vendor":"OpenZeppelin","untrusted_product":"openzeppelin-contracts","versions":[]}],"references":[{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3610","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.7.3","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-4h98-2769-gh6h","tags":["Third Party Advisory"]}]}}