All reports
Medium

OpenZeppelin Contracts contains Incorrect Calculation

Affected versions

Affected versions
>= 4.8.0, < 4.8.2
Fixed version
4.8.2
Affected versions
>= 4.8.0, < 4.8.2
Fixed version
4.8.2

Exploitation

CVE-2023-26488

Probability of exploitation in the next 30 days: 0.71%

FIRST EPSS · 2026-11-22

Description

Impact

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.

Patches

The issue has been patched in 4.8.2.

Links