Cyber Resilience

CVE-2023-26488

Openzeppelin Contracts 4.8.0 – 4.8.2

Published
03 March 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 6.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS Score 0.0071 50th percentile
Risk Priority 51 floored blend · peak EPSS

Summary

CVE-2023-26488 is a medium-severity Incorrect Calculation (CWE-682) vulnerability in Openzeppelin Contracts. Its CVSS base score is 6.5 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 50% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-27094Same product: Openzeppelin Contracts
CVE-2023-30542Same product: Openzeppelin Contracts
CVE-2023-34234Same product: Openzeppelin Contracts
CVE-2023-30541Same product: Openzeppelin Contracts
CVE-2023-49798Same product: Openzeppelin Contracts
CVE-2023-34459Same product: Openzeppelin Contracts
CVE-2024-45304Same product: Openzeppelin Contracts
CVE-2023-23940Same product: Openzeppelin Contracts
CVE-2026-24783Shared CWE-682
CVE-2024-42231Shared CWE-682

Affected Assets

openzeppelin
contracts
4.8.0 — 4.8.2
openzeppelin
contracts upgradeable
4.8.0 — 4.8.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V15.2.2

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly prevent incorrect calculations via reviews, testing, and verification in security-critical code.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing in development and acceptance can detect calculation flaws before deployment.

prevents

Secure development lifecycle mandates verification steps that catch incorrect calculations before they reach production.

prevents

Application security requirements can explicitly call for numeric accuracy and bounds checking.

degrades

Secure architecture principles include input validation and safe arithmetic design that reduce calculation errors.

prevents

Secure coding standards directly prohibit unsafe arithmetic and require defensive checks against incorrect results.

References