CVE-2023-26488

OpenZeppelin Contracts contains Incorrect Calculation

MEDIUM
6.5
CVSS Score
Published: March 3, 2023 at 09:08 PM UTC
Updated: June 17, 2026 at 05:43 AM UTC
3 products affected across 1 vendorContractsContracts UpgradeableOpenzeppelin Contracts

Using openzeppelin-contracts by OpenZeppelin?

Get instant alerts when new vulnerabilities affect openzeppelin-contracts - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.7%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.8.0 ≤ v < 4.8.2
Affected range stops below 4.8.2, so it looks safe — our inference, not a vendor statement
4.8.0 ≤ v < 4.8.2
Affected range stops below 4.8.2, so it looks safe — our inference, not a vendor statement
v < 4.8.2
Affected range stops below 4.8.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.5MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-682

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card