CVE-2023-26488
published medium CVSS 3.1 · 6.5OpenZeppelin Contracts contains Incorrect Calculation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenZeppelin | — | openzeppelin-contracts>= 4.8.0, < 4.8.2 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenZeppelin | openzeppelin-contracts | >= 4.8.0, < 4.8.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-682 CWE-682: Incorrect Calculation
References
3Provider assertions
3GitHub_M · cna
OpenZeppelin Contracts contains Incorrect Calculation
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 856463e70881983d2b7fb7aeee4392966465fde01a5c3abd34489661487f3324
- Ingested
- 23 Sep 2026, 08:07:14 UTC
- Source record
- Official CVE record