CVE-2023-26488 MEDIUM

CVE-2023-26488: OpenZeppelin Contracts contains Incorrect Calculation

Vendor Openzeppelin
Product openzeppelin-contracts
Weakness CWE-682
Published March 3, 2023
Last update February 25, 2025

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality None
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

What the vulnerability does

01Description

OpenZeppelin Contracts is a library for secure smart contract development. The ERC721Consecutive contract designed for minting NFTs in batches does not update balances when a batch has size 1 and consists of a single token. Subsequent transfers from the receiver of that token may overflow the balance as reported by `balanceOf`. The issue exclusively presents with batches of size 1. The issue has been patched in 4.8.2.

Key dates

02Disclosure timeline

March 3, 2023 CVE published
February 25, 2025 Record updated