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-2024-0151

CVE-2024-0151: Cortex-M CMSE Privilege Escalation Flaw

CVE-2024-0151 is a privilege escalation vulnerability in Cortex-M Security Extensions (CMSE) caused by insufficient argument checking. This flaw allows attackers to pass out-of-range values to secure state. Learn the details.

Updated: January 22, 2026

CVE-2024-0151 Overview

CVE-2024-0151 is an input validation vulnerability affecting software compiled with toolchains implementing the ARM v8-M Security Extensions Requirements on Development Tools prior to version 1.4. The vulnerability stems from insufficient argument checking in Secure state Entry functions when using Cortex-M Security Extensions (CMSE). An attacker can exploit this flaw to pass out-of-range values to Secure state for data types smaller than 32-bits, potentially leading to incorrect operations within the secure execution environment.

Critical Impact

Attackers can bypass security boundaries by passing malformed arguments to Secure state Entry functions, potentially compromising the integrity of secure operations in embedded systems using ARM Cortex-M processors.

Affected Products

  • Software using Cortex-M Security Extensions (CMSE)
  • Toolchains implementing 'Arm v8-M Security Extensions Requirements on Development Tools' prior to version 1.4
  • Embedded systems utilizing ARM v8-M architecture with TrustZone security features

Discovery Timeline

  • 2024-04-24 - CVE-2024-0151 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-0151

Vulnerability Analysis

This vulnerability falls under CWE-241 (Improper Handling of Unexpected Data Type). The core issue lies in how Secure state Entry functions validate arguments passed from Non-secure state to Secure state in ARM Cortex-M processors with TrustZone security extensions.

When software is compiled using affected toolchains, the generated code does not properly validate that arguments with data types smaller than 32-bits (such as int8_t, int16_t, uint8_t, or uint16_t) fall within their expected range. Since the ARM architecture uses 32-bit registers, values passed between security states are inherently 32-bit quantities. Without proper range checking, the upper bits of these registers may contain unexpected values that can influence secure state operations.

The network attack vector indicates this vulnerability could be triggered remotely in scenarios where network-received data is processed by secure functions, though exploitation requires complex conditions to be met.

Root Cause

The root cause is a deficiency in the toolchain's implementation of the ARM v8-M Security Extensions specification. Prior to version 1.4 of the specification, toolchains were not required to generate code that validates argument ranges for sub-32-bit data types at secure entry points. This allows Non-secure code to pass values that appear valid in the lower bits but contain malicious or unexpected data in the upper bits, which secure code may inadvertently process.

Attack Vector

An attacker operating from the Non-secure state can craft function calls to Secure state Entry functions with carefully chosen 32-bit register values. When the secure function expects a smaller data type (e.g., uint8_t), it may only examine the lower 8 bits, but subsequent operations might inadvertently use the full 32-bit value. This can lead to:

  • Incorrect conditional branching in secure code
  • Buffer operations using unexpected index values
  • Security policy bypass through manipulated parameters
  • Information disclosure from secure memory regions

The exploitation mechanism relies on the attacker having the ability to invoke secure functions from Non-secure code, which is a normal operation in TrustZone-enabled systems. See the ARM Security Center Overview for additional technical details on CMSE implementation.

Detection Methods for CVE-2024-0151

Indicators of Compromise

  • Unexpected behavior in secure state functions when processing sub-32-bit data types
  • Anomalous memory access patterns in TrustZone secure regions
  • Security policy violations triggered by manipulated function parameters
  • Logs showing secure function calls with parameter values outside expected ranges

Detection Strategies

  • Audit compiled binaries for proper argument validation at secure entry points using static analysis tools
  • Review toolchain version and verify compliance with ARM v8-M Security Extensions Requirements version 1.4 or later
  • Implement runtime monitoring for secure function entry points to detect out-of-range argument values
  • Use firmware integrity verification to detect unauthorized modifications to secure code

Monitoring Recommendations

  • Enable logging of all Non-secure to Secure state transitions where available
  • Monitor for unusual patterns in secure function invocations that may indicate exploitation attempts
  • Implement anomaly detection for parameter values passed to secure entry functions
  • Regularly audit secure code execution flow for unexpected branching or memory access patterns

How to Mitigate CVE-2024-0151

Immediate Actions Required

  • Identify all firmware and software compiled with toolchains implementing ARM v8-M Security Extensions Requirements prior to version 1.4
  • Upgrade development toolchains to versions compliant with specification version 1.4 or later
  • Recompile affected firmware with the updated toolchain to ensure proper argument validation
  • Conduct security review of secure entry functions that accept sub-32-bit data types

Patch Information

The mitigation for this vulnerability requires updating development toolchains to versions that implement the ARM v8-M Security Extensions Requirements on Development Tools version 1.4 or later. Once updated, affected software must be recompiled to include proper argument range checking in Secure state Entry functions. Consult your toolchain vendor for specific version information and update instructions. Reference the ARM Security Center for authoritative guidance.

Workarounds

  • Manually implement argument range validation at the beginning of all Secure state Entry functions that accept sub-32-bit parameters
  • Apply input masking to ensure only valid bits are used (e.g., value &= 0xFF for uint8_t parameters)
  • Implement defense-in-depth measures within secure code to validate all assumptions about parameter ranges
  • Consider using 32-bit data types at secure interfaces and performing explicit range validation within secure code
c
// Manual argument validation workaround for secure entry functions
// Add explicit range checking for sub-32-bit parameters

__attribute__((cmse_nonsecure_entry))
int32_t secure_function(uint8_t param) {
    // Manually validate parameter is within uint8_t range
    if (param > 0xFF) {
        return -1; // Error: out of range
    }
    // Mask to ensure only lower 8 bits are used
    uint8_t validated_param = param & 0xFF;
    
    // Continue with secure operations using validated_param
    // ...
}

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechArm

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.13%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-241
  • Technical References
  • ARM Security Center Overview
  • Related CVEs
  • CVE-2026-0995: Arm C1-Pro Use-After-Free Vulnerability

  • CVE-2025-0015: Arm 5th Gen GPU Driver Use-After-Free Flaw

  • CVE-2025-8045: Arm 5th Gen GPU Driver Use After Free Flaw

  • CVE-2025-6349: Arm 5th Gen GPU Driver Use After Free Flaw
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