CVE-2023-26488
OpenZeppelin Contracts contains Incorrect Calculation
- Published
- Updated
- Reserved
- Assigned by
- 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.
Timeline
ID reserved
By GitHub_M
- 8 days later
· 8 days later
Published
- 24 months later
· 24 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVDNVD · Modified | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 0.71% · top 46% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Weakness
Affected products
OpenZeppelin · openzeppelin-contracts
- affected >= 4.8.0, < 4.8.2
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npm@openzeppelin/contractsGHSA-878m-3g6q-594q (opens in a new tab)
- npm@openzeppelin/contracts-upgradeableGHSA-878m-3g6q-594q (opens in a new tab)
References (3)
- https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-878m-3g6q-594q (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/OpenZeppelin/openzeppelin-contracts/commit/167bf67ed3907f4a674043496019fa346cee7705 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.2 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-878m-3g6q-594q (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-26488)Record last updated .