Cyber Resilience

CVE-2024-27094

Medium

Published: 21 March 2024

Published
21 March 2024
Modified
04 December 2025
KEV Added
Patch
CVSS Score v3.1 6.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
EPSS Score 0.0056 68.8th percentile
Risk Priority 13 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-27094 is a medium-severity Out-of-bounds Read (CWE-125) vulnerability in Openzeppelin Contracts. Its CVSS base score is 6.5 (Medium).

Operationally, ranked in the top 31.2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

EU & UK References

Vulnerability details

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…

more

parts of the memory that are beyond the input buffer. The vulnerability is fixed in 5.0.2 and 4.9.6.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

openzeppelin
contracts
4.5.0 — 4.9.6 · 5.0.0 — 5.0.2
openzeppelin
contracts upgradeable
4.5.0 — 4.9.6 · 5.0.0 — 5.0.2

Mitigating Controls

No mitigating controls mapped yet. The per-CVE control annotator has not reached this CVE.

References