OpenZeppelin Contracts is a library for secure smart contract development. The `Base64.encode` function encodes a `bytes` input by iterating over it in chunks of 3 bytes. When this input is not a multiple of 3, the last iteration may read parts of the memory that are beyond the input buffer. The vulnerability is fixed in 5.0.2 and 4.9.6.
References
Configurations
Configuration 1 (hide)
|
History
04 Dec 2025, 20:13
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Openzeppelin
Openzeppelin contracts Openzeppelin contracts Upgradeable |
|
| CPE | cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:* cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:* |
|
| References | () https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/commit/2d081f24cac1a867f6f73d512f2022e1fa987854 - Patch | |
| References | () https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/commit/723f8cab09cdae1aca9ec9cc1cfa040c2d4b06c1 - Patch | |
| References | () https://github.com/OpenZeppelin/openzeppelin-contracts/commit/92224533b1263772b0774eec3134e132a3d7b2a6 - Patch | |
| References | () https://github.com/OpenZeppelin/openzeppelin-contracts/commit/a6286d0fded8771b3a645e5813e51993c490399c - Patch | |
| References | () https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-9vx6-7xxf-x967 - Vendor Advisory |
21 Nov 2024, 09:03
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/commit/2d081f24cac1a867f6f73d512f2022e1fa987854 - | |
| References | () https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/commit/723f8cab09cdae1aca9ec9cc1cfa040c2d4b06c1 - | |
| References | () https://github.com/OpenZeppelin/openzeppelin-contracts/commit/92224533b1263772b0774eec3134e132a3d7b2a6 - | |
| References | () https://github.com/OpenZeppelin/openzeppelin-contracts/commit/a6286d0fded8771b3a645e5813e51993c490399c - | |
| References | () https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-9vx6-7xxf-x967 - |
21 Mar 2024, 02:52
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2024-03-21 02:52
Updated : 2025-12-04 20:13
NVD link : CVE-2024-27094
Mitre link : CVE-2024-27094
CVE.ORG link : CVE-2024-27094
JSON object : View
Products Affected
openzeppelin
- contracts_upgradeable
- contracts
CWE
CWE-125
Out-of-bounds Read
