Out-of-bounds Read in Openzeppelin Contracts

CVE-2024-27094

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…

Vulnerability class: Buffer Overflow

EPSS: 0.008 (50.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-27094?
CVE-2024-27094 is a medium-severity vulnerability in Openzeppelin Contracts, classified under Out-of-bounds Read. CVSS score: 6.5/10. Published 2024-03-21.
How severe is CVE-2024-27094?
Medium severity. CVSS v3 base score is 6.5 out of 10.
Is CVE-2024-27094 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.