The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-27105

CVE-2025-27105: Vyperlang Vyper Buffer Overflow Flaw

CVE-2025-27105 is a buffer overflow vulnerability in Vyperlang Vyper affecting AugAssign statements with DynArray access. This flaw bypasses bounds checking when the right-hand side modifies the array. Learn about affected versions and fixes.

Published: April 1, 2026

CVE-2025-27105 Overview

CVE-2025-27105 is an Out-of-Bounds Write vulnerability in Vyper, a Pythonic Smart Contract Language for the Ethereum Virtual Machine (EVM). The vulnerability exists in how Vyper handles AugAssign statements when the target is an access to a DynArray and the right-hand side (rhs) modifies the array. Due to improper caching of the target location, bounds checks are not re-evaluated during the write portion of the statement, potentially allowing out-of-bounds memory writes.

Critical Impact

Smart contracts compiled with vulnerable versions of Vyper may be susceptible to memory corruption attacks through carefully crafted AugAssign operations on dynamic arrays, potentially affecting contract integrity and security.

Affected Products

  • Vyperlang Vyper versions prior to 0.4.1

Discovery Timeline

  • 2025-02-21 - CVE-2025-27105 published to NVD
  • 2025-03-28 - Last updated in NVD database

Technical Details for CVE-2025-27105

Vulnerability Analysis

This vulnerability is classified as CWE-787 (Out-of-Bounds Write) and affects the Vyper smart contract compiler's handling of augmented assignment (AugAssign) statements. In Python-like syntax, augmented assignments include operations such as +=, -=, *=, and similar compound assignment operators.

The core issue lies in Vyper's optimization strategy for AugAssign operations. To avoid double evaluation of the target expression, Vyper caches the target location before executing the statement. However, when the target is a dynamic array (DynArray) access and the right-hand side expression modifies that same array, a race condition-like scenario occurs.

The bounds check is performed during the initial caching phase, but when the rhs operation modifies the array (potentially changing its length), the cached location may no longer be valid. Since the bounds check is not re-evaluated during the actual write operation, this can result in an out-of-bounds write condition.

Root Cause

The root cause is the absence of bounds re-validation when writing to a DynArray element after the right-hand side expression has potentially modified the array's structure. The compiler's caching optimization for avoiding double evaluation creates a Time-of-Check to Time-of-Use (TOCTOU) style vulnerability where the array state changes between the initial bounds check and the actual write operation.

Attack Vector

This vulnerability can be exploited through network-accessible smart contract interactions. An attacker could deploy or interact with a smart contract compiled with a vulnerable version of Vyper, using specially crafted inputs that trigger the AugAssign operation on a DynArray where the rhs modifies the same array. The network-based attack vector requires low privileges but involves some level of attack complexity due to the specific conditions needed to trigger the vulnerability.

The vulnerability mechanism involves crafting an augmented assignment where accessing a DynArray element triggers rhs evaluation that modifies the array bounds. Since Vyper caches the target location before evaluating the rhs, the bounds check uses stale information, allowing writes outside the valid array boundaries. For detailed technical analysis, see the GitHub Security Advisory.

Detection Methods for CVE-2025-27105

Indicators of Compromise

  • Smart contracts using Vyper versions below 0.4.1 with AugAssign operations on DynArray types
  • Unusual memory state changes in deployed contracts that use dynamic arrays with compound assignment operators
  • Unexpected contract behavior when processing transactions involving array modifications

Detection Strategies

  • Audit smart contract source code for AugAssign patterns where the rhs expression modifies the same DynArray being assigned to
  • Review compilation metadata to identify contracts built with vulnerable Vyper versions
  • Implement static analysis tools to detect vulnerable patterns in Vyper source code before deployment

Monitoring Recommendations

  • Monitor deployed smart contracts for unexpected state changes that could indicate exploitation
  • Track Vyper compiler versions used in your development and deployment pipelines
  • Implement pre-deployment security scanning for known vulnerable patterns in smart contract code

How to Mitigate CVE-2025-27105

Immediate Actions Required

  • Upgrade Vyper to version 0.4.1 or later immediately
  • Audit existing smart contracts compiled with vulnerable versions for the affected pattern
  • Consider redeploying critical smart contracts compiled with the patched version
  • Review and test any contracts using AugAssign operations with DynArray types

Patch Information

The vulnerability has been addressed in Vyper version 0.4.1. All users are strongly advised to upgrade to this version or later. The fix ensures that bounds checks are properly re-evaluated during write operations to DynArray elements in AugAssign statements.

For detailed patch information, refer to the Vyper Security Advisory GHSA-4w26-8p97-f4jp.

Workarounds

  • There are no known workarounds for this vulnerability according to the security advisory
  • The only recommended mitigation is upgrading to Vyper version 0.4.1 or later
  • For contracts that cannot be immediately redeployed, consider implementing additional access controls to limit exposure
bash
# Upgrade Vyper to the patched version
pip install vyper>=0.4.1

# Verify installed version
vyper --version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechVyper

  • SeverityLOW

  • CVSS Score2.3

  • EPSS Probability0.30%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-787
  • Vendor Resources
  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 XSS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English