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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2026-29645

CVE-2026-29645: NEMU RISC-V Vector Decoder DOS Vulnerability

CVE-2026-29645 is a denial of service flaw in NEMU's RISC-V Vector decoder that allows crafted binaries to cause architectural state corruption and system failures. This article covers technical details, affected versions, and mitigations.

Published: April 23, 2026

CVE-2026-29645 Overview

CVE-2026-29645 is an improper instruction-validation flaw discovered in NEMU (OpenXiangShan/NEMU), an open-source RISC-V emulator. The vulnerability exists in the RISC-V Vector (RVV) decoder, which fails to properly validate the funct3 field when decoding vsetvli, vsetivli, and vsetvl instructions. This improper validation allows attackers to craft malicious RISC-V binaries containing invalid OP-V instruction encodings that are incorrectly interpreted and executed as vset* configuration instructions, rather than raising the expected illegal-instruction exception.

Critical Impact

Exploitation of this vulnerability can lead to incorrect trap behavior, architectural state corruption, execution divergence, and denial of service in systems relying on NEMU for correct execution or sandboxing environments.

Affected Products

  • NEMU (OpenXiangShan/NEMU) versions before v2025.12.r2

Discovery Timeline

  • 2026-04-20 - CVE-2026-29645 published to NVD
  • 2026-04-21 - Last updated in NVD database

Technical Details for CVE-2026-29645

Vulnerability Analysis

This vulnerability stems from incomplete input validation in the RISC-V Vector extension instruction decoder within NEMU. The RISC-V Vector extension defines specific encoding rules for vector configuration instructions (vsetvli, vsetivli, vsetvl), which use the funct3 field to distinguish between instruction variants. The vulnerable decoder implementation fails to verify that the funct3 field contains valid values according to the RISC-V specification.

When processing OP-V (Vector Operations) encoded instructions, the decoder should validate that the instruction encoding conforms to the expected format. However, due to the missing validation check, certain malformed instruction encodings that should trigger an illegal-instruction exception are instead decoded and executed as legitimate vector configuration instructions. This represents a deviation from the correct architectural behavior specified in the RISC-V Unprivileged V-Instruction Extension.

The vulnerability is classified under CWE-131 (Incorrect Calculation of Buffer Size), though in this context it manifests as an input validation error in instruction decoding logic.

Root Cause

The root cause lies in the instruction decoder's failure to implement complete boundary checking for the funct3 field during the decoding of vector configuration instructions. The decoder logic incorrectly assumes that any OP-V encoded instruction with certain opcode patterns is a valid vset* instruction without verifying the funct3 field against the specification-defined valid values. This oversight allows invalid instruction encodings to bypass the expected illegal-instruction trap mechanism.

Attack Vector

An attacker can exploit this vulnerability by providing specially crafted RISC-V binaries to a system running NEMU. The attack does not require authentication and can be performed remotely in scenarios where NEMU processes untrusted binary input. The attack flow involves:

  1. Crafting a RISC-V binary containing malformed OP-V instruction encodings with invalid funct3 field values
  2. Submitting the malicious binary to a system using NEMU for emulation, simulation, or sandboxing
  3. The vulnerable decoder misinterprets the invalid instructions as vset* configuration instructions
  4. This leads to incorrect architectural state modification, trap behavior divergence, or denial of service

The vulnerability is particularly concerning for environments using NEMU as a reference implementation for hardware verification, as it can cause execution divergence between the emulator and actual hardware implementations.

Detection Methods for CVE-2026-29645

Indicators of Compromise

  • Unusual RISC-V binary inputs containing non-standard OP-V instruction encodings
  • Unexpected vector register state modifications during emulation sessions
  • Missing illegal-instruction exceptions when processing malformed vector instructions
  • Divergence between NEMU execution results and hardware or other reference implementations

Detection Strategies

  • Implement input validation for RISC-V binaries before processing with NEMU, checking for known malformed instruction patterns
  • Monitor NEMU execution logs for unexpected instruction decoding behavior or missing trap events
  • Deploy integrity monitoring on systems using NEMU to detect unauthorized binary submissions
  • Compare NEMU execution traces against reference implementations for critical workloads

Monitoring Recommendations

  • Enable verbose logging in NEMU to capture instruction decoding events and exception handling
  • Implement alerting for denial of service conditions in NEMU-based emulation environments
  • Track NEMU process stability and resource consumption for anomalous patterns
  • Audit all binary inputs processed by NEMU in sandboxing or verification environments

How to Mitigate CVE-2026-29645

Immediate Actions Required

  • Update NEMU to version v2025.12.r2 or later immediately
  • Review any emulation or simulation results generated by vulnerable NEMU versions for potential corruption
  • Restrict access to NEMU instances processing untrusted binary input
  • Implement input validation for RISC-V binaries in upstream processing pipelines

Patch Information

The vulnerability has been addressed by the OpenXiangShan team. The fix adds proper validation of the funct3 field in the RISC-V Vector decoder to ensure invalid instruction encodings correctly raise illegal-instruction exceptions as specified. The patch details are available in the GitHub NEMU Commit and the associated Pull Request #958. Additional context and discussion can be found in Issue #952.

Organizations should update to NEMU version v2025.12.r2 or apply the referenced commit to their NEMU installations.

Workarounds

  • Restrict NEMU usage to trusted RISC-V binaries only until the patch can be applied
  • Implement pre-processing validation of RISC-V binaries to detect and reject malformed OP-V instruction encodings
  • Run NEMU in isolated environments with limited privileges to contain potential denial of service impact
  • Consider using alternative RISC-V emulators for processing untrusted binaries until NEMU is patched

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechNemu

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-131
  • Technical References
  • RISC-V Unprivileged V-Instruction Extension

  • GitHub NEMU Commit Details

  • GitHub NEMU Issue Discussion

  • GitHub NEMU Pull Request
  • Related CVEs
  • CVE-2026-29649: NEMU RISC-V Hypervisor DoS Vulnerability
Default Legacy - Prefooter | 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