CVE-2022-35961: Signature Malleability in OpenZeppelin Contracts ECDSA Recovery
- Vendor
- Openzeppelin
CVE-2022-35961 is a signature-malleability vulnerability in the bytes-signature overloads of OpenZeppelin Contracts ECDSA.recover and ECDSA.tryRecover. These functions accept both traditional 65-byte signatures and EIP-2098 compact signatures, allowing the same valid signature to be represented by different byte sequences. Smart contracts that prevent signature reuse by marking signature bytes as used, rather than tracking the signed message or a nonce, can therefore accept an already-consumed authorization again. The overloads taking separate r, v, s or r, vs arguments are not affected. The issue is patched in version 4.7.3.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Affected smart contracts can have their signature-reuse or replay protections bypassed, allowing an attacker to repeat an action authorized by a previously submitted signature. The resulting impact depends on the operation protected by the signature and may include unauthorized repeated state changes or asset-related operations. This vulnerability does not itself establish private-key recovery or the ability to sign arbitrary new messages.
Mitigation
If you can’t patch tonight, do this now.
Implement replay protection using consumed message hashes or validated nonces rather than raw signature bytes. Until patched, avoid the bytes-signature overloads in applications that track signature bytes for replay prevention. Alternatively, use the unaffected overloads accepting separate r, v, s or r, vs arguments and enforce consistent signature handling in application logic.
Remediation
Patch, then assume compromise.
Upgrade OpenZeppelin Contracts or Contracts Upgradeable to version 4.7.3 or a later fixed release. Ensure deployed contracts incorporate the corrected implementation through the applicable upgrade or redeployment process; updating a development dependency alone does not change deployed bytecode.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2022-35961 exploited in the wild?
- Yes. As of Nov 9, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2022-35961?
- As of Nov 9, 2026, Mallory has found no public exploit for CVE-2022-35961.
- Is there a patch for CVE-2022-35961?
- Upgrade OpenZeppelin Contracts or Contracts Upgradeable to version 4.7.3 or a later fixed release. Ensure deployed contracts incorporate the corrected implementation through the applicable upgrade or redeployment process; updating a development dependency alone does not change deployed bytecode.
- What products are affected by CVE-2022-35961?
- Openzeppelin Contracts and Openzeppelin Contracts-Upgradeable.
- How severe is CVE-2022-35961?
- CVE-2022-35961 has a CVSS v3.1 score of 6.5 (Medium) and an EPSS score of 0.45% (40th percentile) as of Nov 9, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.