Skip to main content
Mallory
MediumVulnerability

CVE-2022-35961: Signature Malleability in OpenZeppelin Contracts ECDSA Recovery

Published Aug 14, 2022 · Updated 16 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS6.5Medium · v3.1
EPSS0.45%40th percentile
CISA KEVNoNot listed
In the wildReported1 exploitation record in Mallory
Vendor
Openzeppelin
IdentifiersCVE-2022-35961CWE-347

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
OpenzeppelinContractsapplication
OpenzeppelinContracts-Upgradeableapplication
FAQ

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.
Activity feed

Recent activity

2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.