Security mailing lists by PureSourceCode

CVE-2023-26488

MEDIUM 6.5CVSS 3.1

OpenZeppelin Contracts contains Incorrect Calculation

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
3 Mar 2023
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-682
Also known as
GHSA-878m-3g6q-594q
Sources
NVDJSONOSV GHSA-878m-3g6q-594qJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD openzeppelin contracts
cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:*
>= 4.8.0, < 4.8.2 4.8.2
NVD openzeppelin contracts_upgradeable
cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:*
>= 4.8.0, < 4.8.2 4.8.2
OSV npm @openzeppelin/contracts >= 4.8.0, < 4.8.2 4.8.2
OSV npm @openzeppelin/contracts-upgradeable >= 4.8.0, < 4.8.2 4.8.2

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 3 Mar 2023)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 3 Mar 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.