Live threats

All CVEs / Openzeppelin

CVE-2023-26488Openzeppelin Contracts

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
0.8%
probability of exploitation in 30 days · percentile 54
Auth required
Yes
Published
Mar 3, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-682
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Contracts.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @openzeppelin/contracts ≥ 4.8.0 < 4.8.2 4.8.2 npm install @openzeppelin/contracts@4.8.2
npm @openzeppelin/contracts-upgradeable ≥ 4.8.0 < 4.8.2 4.8.2 npm install @openzeppelin/contracts-upgradeable@4.8.2

Per OSV / GitHub Advisories (GHSA-878m-3g6q-594q). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
openzeppelincontracts≥ 4.8.0 < 4.8.2
openzeppelincontracts_upgradeable≥ 4.8.0 < 4.8.2

Official sources

References

Links published by the sources. Open them with care.