{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-27094","published":"2024-03-21T02:52:18.063000Z","last_modified":"2026-06-17T07:19:09.020000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.4,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-125"],"cpes":[{"criteria":"cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:*","part":"a","vendor":"openzeppelin","product":"contracts","version_start_including":"4.5.0","version_end_excluding":"4.9.6"},{"criteria":"cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:*","part":"a","vendor":"openzeppelin","product":"contracts","version_start_including":"5.0.0","version_end_excluding":"5.0.2"},{"criteria":"cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:*","part":"a","vendor":"openzeppelin","product":"contracts_upgradeable","version_start_including":"4.5.0","version_end_including":"4.9.6"},{"criteria":"cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:*","part":"a","vendor":"openzeppelin","product":"contracts_upgradeable","version_start_including":"5.0.0","version_end_excluding":"5.0.2"}],"cpes_truncated":false,"vendors":["openzeppelin"],"products":["openzeppelin/contracts","openzeppelin/contracts_upgradeable"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00881,"percentile":0.56955,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-9vx6-7xxf-x967","ecosystem":"npm","name":"@openzeppelin/contracts","purl":"pkg:npm/%40openzeppelin/contracts","ranges":[{"introduced":"4.5.0","fixed":"4.9.6"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-9vx6-7xxf-x967","ecosystem":"npm","name":"@openzeppelin/contracts","purl":"pkg:npm/%40openzeppelin/contracts","ranges":[{"introduced":"5.0.0-rc.0","fixed":"5.0.2"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-9vx6-7xxf-x967","ecosystem":"npm","name":"@openzeppelin/contracts-upgradeable","purl":"pkg:npm/%40openzeppelin/contracts-upgradeable","ranges":[{"introduced":"5.0.0-rc.0","fixed":"5.0.2"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-9vx6-7xxf-x967","ecosystem":"npm","name":"@openzeppelin/contracts-upgradeable","purl":"pkg:npm/%40openzeppelin/contracts-upgradeable","ranges":[{"introduced":"4.5.0","fixed":"4.9.6"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":59,"links":{"html_es":"/es/cve/CVE-2024-27094/","html_en":"/en/cve/CVE-2024-27094/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-27094","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-27094"},"untrusted":{"vendor_name":"Openzeppelin","product_name":"Contracts","desc_en":"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.","affected":[{"untrusted_vendor":"OpenZeppelin","untrusted_product":"openzeppelin-contracts","versions":[]}],"references":[{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/commit/2d081f24cac1a867f6f73d512f2022e1fa987854","tags":["Patch"]},{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/commit/723f8cab09cdae1aca9ec9cc1cfa040c2d4b06c1","tags":["Patch"]},{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/commit/92224533b1263772b0774eec3134e132a3d7b2a6","tags":["Patch"]},{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/commit/a6286d0fded8771b3a645e5813e51993c490399c","tags":["Patch"]},{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-9vx6-7xxf-x967","tags":["Vendor Advisory"]}]}}