BreachSpiderVerified, not vibes

CVE-2023-46247 in Vyperlang Vyper

High 7.5

Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine (EVM). Contracts containing large arrays might underallocate the number of slots they need by 1. Prior to v0.3.8, the calculation to determine how many slots a storage variable needed used `math.ceil(type_.size_in_bytes / 32)`. The intermed...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.5
EPSS0.8%
EPSS percentile54th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Vyperlang Vyper < 0.3.8

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine (EVM). Contracts containing large arrays might underallocate the number of slots they need by 1. Prior to v0.3.8, the calculation to determine how many slots a storage variable needed used `math.ceil(type_.size_in_bytes / 32)`. The intermediate floating point step can produce a rounding error if there are enough bits set in the IEEE-754 mantissa. Roughly speaking, if `type_.size_in_bytes` is large (> 2**46), and slightly less than a power of 2, the calculation can overestimate how many slots are needed by 1. If `type_.size_in_bytes` is slightly more than a power of 2, the calculation can underestimate how many slots are needed by 1. This issue is patched in version 0.3.8.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-46247
BreachSpider IDBS-2023-GLOBAL-020795-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published2023-12-13
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-193: CWE-193

CWE-682: CWE-682

Related attack patterns (CAPEC)

CAPEC-128 Integer Attacks via CWE-682

CAPEC-129 Pointer Manipulation via CWE-682

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2023-46247 affects Vyper smart contracts prior to v0.3.8, where the calculation for storage slots for large arrays can underallocate by one slot due to a rounding error in the size calculation.

An attacker could exploit this vulnerability by deploying a smart contract with a large array, leading to potential data corruption or unauthorized access to adjacent storage slots.

Questions

What is CVE-2023-46247?

CVE-2023-46247 affects Vyper smart contracts prior to v0.3.8, where the calculation for storage slots for large arrays can underallocate by one slot due to a rounding error in the size calculation.

What is the CVSS score for CVE-2023-46247?

CVE-2023-46247 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.8%.

Is CVE-2023-46247 actively exploited?

No confirmed active exploitation of CVE-2023-46247 as of 2026-09-25.

How do I remediate CVE-2023-46247?

Priority: HIGH.

What systems are affected by CVE-2023-46247?

CVE-2023-46247 affects Vyperlang Vyper.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Vyperlang","product":"Vyper","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.