CVE-2023-26488
Published:March 03, 2023
Updated:September 21, 2026
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.
Affected Packages
@openzeppelin/contracts-upgradeable (NPM):
Affected version(s) >=4.8.0 <4.8.2Fix Suggestion:
Update to version 4.8.2@openzeppelin/contracts (NPM):
Affected version(s) >=4.8.0 <4.8.2Fix Suggestion:
Update to version 4.8.2Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Incorrect Calculation
EPSS
Base Score:
0.71