Skip to content
Fencer Vulns
medium 6.5

CVE-2023-26488 json

OpenZeppelin Contracts contains Incorrect Calculation

published 2023-03-03 3 y ago modified 2026-06-17 4 mo ago also GHSA-878m-3g6q-594q , EUVD-2023-0941

cvss
6.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 53%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm @openzeppelin/contracts 4.8.2
  • npm @openzeppelin/contracts-upgradeable 4.8.2
  • openzeppelin contracts 4.8.2
  • openzeppelin contracts_upgradeable 4.8.2

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
20 mo ago

Exploit prediction

0.71% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
GitHub 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
npm @openzeppelin/contracts
>=4.8.0, <4.8.2
4.8.2
npm @openzeppelin/contracts-upgradeable
>=4.8.0, <4.8.2
4.8.2

Affected products

  • OpenZeppelin openzeppelin-contracts

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.