CVE-2023-26488

OpenZeppelin Contracts contains Incorrect Calculation

Published Mar 3, 2023 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-0941 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.
Github GHSA Github GHSA GHSA-878m-3g6q-594q OpenZeppelin Contracts contains Incorrect Calculation
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 25, 2025, 3:02 PM
Reserved
Feb 23, 2023, 11:22 PM
Status
Modified
Published
Mar 3, 2023, 10:15 PM
Modified
Jun 17, 2026, 5:43 AM