OpenZeppelin openzeppelin-contracts

18 published vulnerabilities name this product.

As the CNAs write it in their CVE records (vendor and product); the versions are theirs.

CVEVulnerable versionsTitleSeverityPublishedEPSSExploitation
CVE-2025-54070>= 5.2.0, < 5.4.0OpenZeppelin Contracts's Bytes's lastIndexOf function with position argument performs out-of-bound memory access on empty buffersMEDIUM 6.90.4 %
CVE-2024-27094>= 4.5.0, < 4.9.6 ; >= 5.0.0-rc.0, < 5.0.2OpenZeppelin Contracts base64 encoding may read from potentially dirty memoryHIGH 7.40.8 %
CVE-2023-49798= 4.9.4Duplicated execution of subcalls in OpenZeppelin ContractsHIGH 7.50.5 %
CVE-2023-40014>= 4.0.0, < 4.9.3OpenZeppelin Contracts's ERC2771Context with custom forwarder may lead to zero-valued _msgSenderMEDIUM 5.30.7 %
CVE-2023-34459>= 4.7.0, < 4.9.2OpenZeppelin Contracts's MerkleProof multiproofs may allow proving arbitrary leaves for specific treesMEDIUM 5.90.4 %
CVE-2023-34234>=4.3.0, < 4.9.1Governor proposal creation may be blocked by frontrunning in OpenZeppelinMEDIUM 5.30.6 %
CVE-2023-30541@openzeppelin/contracts: >= 3.2.0, < 4.8.3 ; @openzeppelin/contracts-upgradeable: >=3.2.0, <4.8.3TransparentUpgradeableProxy clashing selector calls may not be delegated in @openzeppelin/contractsMEDIUM 5.30.8 %
CVE-2023-30542>= 4.3.0, < 4.8.3GovernorCompatibilityBravo may trim proposal calldataHIGH 8.80.6 %
CVE-2023-26488>= 4.8.0, < 4.8.2OpenZeppelin Contracts contains Incorrect CalculationMEDIUM 6.50.7 %
CVE-2022-39384>= 3.2.0, < 4.4.1OpenZeppelin Contracts initializer reentrancy may lead to double initializationMEDIUM 5.60.6 %
CVE-2022-35961>= 4.1.0, < 4.7.3ECDSA signature malleability in OpenZeppelin ContractsHIGH 7.90.5 %
CVE-2022-35915>=2.0.0 < 4.7.2Unbounded gas consumption in @openzeppelin/contractsMEDIUM 5.30.8 %
CVE-2022-35916>= 4.6.0, < 4.7.2Cross chain utilities for Arbitrum L2 see EOA calls as cross chain callsMEDIUM 5.30.6 %
CVE-2022-31198>= 4.3.0, < 4.7.2GovernorVotesQuorumFraction updates to quorum may affect past defeated proposals in @openzeppelin/contractsHIGH 7.50.8 %
CVE-2022-31170>= 4.0.0, < 4.7.1OpenZeppelin Contracts's ERC165Checker may revert instead of returning falseHIGH 7.50.8 %
CVE-2022-31172>= 4.1.0, < 4.7.1OpenZeppelin Contracts's SignatureChecker may revert on invalid EIP-1271 signersHIGH 7.50.5 %
CVE-2021-41264>= 4.1.0 < 4.3.2UUPSUpgradeable vulnerability in OpenZeppelin ContractsCRITICAL 9.81.5 %
CVE-2021-39167>=4.0.0, < 4.3.1 ; >=3.3.0, < 3.4.2 ; >= 3.3.0-solc-0.7, < 3.4.2-solc-0.7TimelockController vulnerability in OpenZeppelin ContractsCRITICAL 10.01.6 %