GHSA-4g63-c64m-25w9 · Severity: high · Ecosystem: npm — OpenZeppelin Contracts's SignatureChecker may revert on invalid EIP-1271 signers
OpenZeppelin Contracts is a library for smart contract development. Versions 4.1.0 until 4.7.1 are vulnerable to the SignatureChecker reverting. `SignatureChecker.isValidSignatureNow` is not expected to revert. However, an incorrect assumption about Solidity 0.8's `abi.decode` allows some cases to revert, given a target contract that doesn't implement EIP-1271 as expected. The contracts that may be affected are those that use `SignatureChecker` to check the validity of a signature and handle invalid signatures in a way other than reverting. The issue was patched in version 4.7.1.
Conclusion & alert: CVE-2022-31172 is rated Moderate Risk (43.6/100): CVSS High severity, with low exploitation likelihood (EPSS 0.18%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-01 | 0.11% | 0.18% | +0.07% |
| 2 | 2025-07-23 | 0.03% | 0.11% | +0.07% |
| 3 | 2025-03-17 | — | 0.03% | — |
Full EPSS history (6 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-4g63-c64m-25w9 · Severity: high · Ecosystem: npm — OpenZeppelin Contracts's SignatureChecker may revert on invalid EIP-1271 signers
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| openzeppelin | contracts | >= 4.1.0, < 4.7.1 | cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3552 | Patch Third Party Advisory |
| https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-4g63-c64m-25w9 | Third Party Advisory |