{"id":"CVE-2023-26488","aliases":["GHSA-878m-3g6q-594q"],"url":"https://o3.security/vulnerability/CVE-2023-26488","summary":"OpenZeppelin Contracts contains Incorrect Calculation","details":"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.","published":"2023-03-03T21:08:34.886Z","modified":"2026-07-16T03:46:19.061021503Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@openzeppelin/contracts","fixedVersion":"4.8.2"},{"ecosystem":"npm","name":"@openzeppelin/contracts-upgradeable","fixedVersion":"4.8.2"}],"fix":{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/commit/167bf67ed3907f4a674043496019fa346cee7705","label":"OpenZeppelin/openzeppelin-contracts@167bf67"},"references":[{"type":"WEB","url":"https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26488.json"},{"type":"ADVISORY","url":"https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-878m-3g6q-594q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26488"},{"type":"FIX","url":"https://github.com/OpenZeppelin/openzeppelin-contracts/commit/167bf67ed3907f4a674043496019fa346cee7705"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-16T03:46:19.061021503Z"}}