CVE-2023-26488Incorrect Calculation in Contracts

Severity
6.5MEDIUMNVD
EPSS
0.3%
top 45.00%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 3
Latest updateNov 3

Description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NExploitability: 2.8 | Impact: 3.6

Affected Packages5 packages

NVDopenzeppelin/contracts4.8.04.8.2
npmopenzeppelin/contracts4.8.04.8.2
CVEListV5openzeppelin/openzeppelin-contracts>= 4.8.0, < 4.8.2

Patches

🔴Vulnerability Details

2
OSV
OpenZeppelin Contracts contains Incorrect Calculation2023-03-03
GHSA
OpenZeppelin Contracts contains Incorrect Calculation2023-03-03

📄Research Papers

1
arXiv
FTSmartAudit: A Knowledge Distillation-Enhanced Framework for Automated Smart Contract Auditing Using Fine-Tuned LLMs2025-11-03