CVE-2024-26149
Python vulnerability analysis and mitigation

Overview

CVE-2024-26149 affects Vyper, a pythonic Smart Contract Language for the Ethereum virtual machine. The vulnerability was discovered and disclosed on February 26, 2024, impacting version 0.3.10 and earlier versions. The issue involves an array index overflow vulnerability in the _abi_decode function, where specifying an excessively large starting index can cause the read position to overflow (GitHub Advisory).

Technical details

The vulnerability occurs when an excessively large value is specified as the starting index for an array in the _abi_decode function. This causes the read position to overflow, resulting in the decoding of values outside the intended array bounds. The issue is only observable if there is a memory write between two invocations of abi_decode on the same input. The vulnerability has been assigned a CVSS v3.1 score of 5.3 (MEDIUM) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (NVD).

Impact

The vulnerability can lead to the decoding of values outside the intended array bounds, potentially causing exploitations in contracts that use arrays within _abi_decode. However, the impact has been assessed as low severity because it requires specific conditions - namely, a memory write between two invocations of abi_decode on the same input (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched through multiple pull requests (#3925, #4091, #4144, #4060) in the Vyper repository. Users are advised to upgrade to version 0.4.0 or later to address this security issue (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23949HIGH8.6
  • PythonPython
  • jaraco.context
NoYesJan 20, 2026
CVE-2026-22219HIGH8.3
  • PythonPython
  • chainlit
NoYesJan 20, 2026
CVE-2026-23842HIGH7.5
  • PythonPython
  • chatterbot
NoYesJan 19, 2026
CVE-2026-23877MEDIUM5.3
  • PythonPython
  • swingmusic
NoYesJan 19, 2026
CVE-2026-23833LOW1.7
  • PythonPython
  • esphome
NoYesJan 19, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management