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-37530

CVE-2026-37530: AGL agl-service-can-low-level RCE Flaw

CVE-2026-37530 is a stack buffer overflow vulnerability in AGL agl-service-can-low-level through version 17.1.12 that enables remote code execution on automotive ECUs. This article covers technical details, exploitation risks, and patches.

Published: May 7, 2026

CVE-2026-37530 Overview

CVE-2026-37530 is a stack buffer overflow in the Automotive Grade Linux (AGL) agl-service-can-low-level component through version 17.1.12. The flaw resides in the bundled uds-c library, specifically in the send_diagnostic_request function inside uds.c. The function allocates a 6-byte stack buffer defined by MAX_DIAGNOSTIC_PAYLOAD_SIZE but copies up to 7 bytes (MAX_UDS_REQUEST_PAYLOAD_LENGTH) using memcpy at an offset of 1+pid_length. The mismatch produces 1 to 4 bytes of attacker-controlled stack overflow. The payload_length field is a uint8_t with no bounds check against the destination buffer.

Critical Impact

On 32-bit ARM automotive Electronic Control Units (ECUs) compiled without stack canaries, the overflow can overwrite the saved return address and lead to remote code execution over the CAN diagnostic interface.

Affected Products

  • AGL agl-service-can-low-level through 17.1.12
  • Bundled uds-c library (uds.csend_diagnostic_request)
  • Automotive Linux deployments on 32-bit ARM ECUs without stack protection

Discovery Timeline

  • 2026-05-01 - CVE-2026-37530 published to NVD
  • 2026-05-07 - Last updated in NVD database

Technical Details for CVE-2026-37530

Vulnerability Analysis

The vulnerability is a classic stack-based buffer overflow [CWE-121] in the Unified Diagnostic Services (UDS) request handling path. The send_diagnostic_request function in uds.c constructs an outgoing CAN diagnostic frame on the stack. The destination buffer is sized using MAX_DIAGNOSTIC_PAYLOAD_SIZE set to 6 bytes. The function then writes a header byte plus a Parameter ID (PID) of 1 to 2 bytes, followed by a memcpy that copies up to MAX_UDS_REQUEST_PAYLOAD_LENGTH (7 bytes) of caller-supplied payload.

When the PID length and payload length combine, the total bytes written exceed the 6-byte destination by 1 to 4 bytes. The payload_length value is taken from a uint8_t controlled by the request originator and is never validated against the buffer capacity.

Root Cause

The defect stems from two inconsistent constants in the same translation unit. MAX_DIAGNOSTIC_PAYLOAD_SIZE (6) defines the buffer, while MAX_UDS_REQUEST_PAYLOAD_LENGTH (7) defines the maximum copy length. The code path trusts the caller-supplied payload_length without comparing it to the actual destination size after accounting for the header byte and PID bytes already written at offset 1+pid_length.

Attack Vector

An attacker with access to the CAN diagnostic interface, or to any service that forwards UDS requests into agl-service-can-low-level, can craft a request with a maximum-sized payload and a multi-byte PID. The resulting memcpy writes 1 to 4 bytes past the stack buffer. On 32-bit ARM ECUs built without -fstack-protector and without Address Space Layout Randomization (ASLR) on the relevant mappings, the overwritten bytes can corrupt the saved frame pointer or the return address. This enables hijacking of control flow when the function returns. The CVSS vector indicates a network-reachable, no-privilege, no-interaction path with high availability impact.

No public proof-of-concept exploit has been published. See the Automotive Linux Gerrit resource and the referenced GitHub Gist code snippet for the affected code paths.

Detection Methods for CVE-2026-37530

Indicators of Compromise

  • UDS diagnostic requests where payload_length exceeds 3 bytes combined with multi-byte PID values targeting agl-service-can-low-level.
  • Unexpected crashes, segmentation faults, or restarts of the agl-service-can-low-level binary recorded in journalctl or systemd unit logs.
  • Anomalous CAN traffic on diagnostic CAN IDs originating from non-OEM tools or untrusted in-vehicle network segments.

Detection Strategies

  • Inspect CAN bus telemetry for ISO 14229 UDS frames with payload lengths approaching or exceeding the 7-byte boundary at the application layer.
  • Run the affected binary under AddressSanitizer (ASan) or with stack canaries enabled in test builds to surface the overflow during fuzzing.
  • Review uds.c source for any local fork or vendor branch that retains the inconsistent MAX_DIAGNOSTIC_PAYLOAD_SIZE versus MAX_UDS_REQUEST_PAYLOAD_LENGTH constants.

Monitoring Recommendations

  • Forward AGL service logs and CAN intrusion detection events into a centralized SIEM for correlation across fleet ECUs.
  • Alert on repeated process restarts of agl-service-can-low-level within short time windows, which can indicate exploitation attempts.
  • Track the integrity of the diagnostic interface and flag UDS sessions opened from unauthorized tester addresses.

How to Mitigate CVE-2026-37530

Immediate Actions Required

  • Restrict access to the CAN diagnostic interface and gateway services that forward UDS requests to agl-service-can-low-level.
  • Audit deployed AGL images for agl-service-can-low-level versions at or below 17.1.12 and prioritize them for update.
  • Rebuild affected ECU firmware with -fstack-protector-strong and enable available memory protections on 32-bit ARM targets.

Patch Information

No fixed version is referenced in the published advisory at this time. Monitor the Automotive Linux Gerrit project page for upstream commits that correct the size constant mismatch and add a bounds check on payload_length before the memcpy in send_diagnostic_request.

Workarounds

  • Apply a local patch that validates payload_length + 1 + pid_length <= MAX_DIAGNOSTIC_PAYLOAD_SIZE before invoking memcpy in uds.c.
  • Increase MAX_DIAGNOSTIC_PAYLOAD_SIZE to match MAX_UDS_REQUEST_PAYLOAD_LENGTH plus the header and PID bytes, then rebuild the affected component.
  • Enforce a CAN firewall policy on the gateway ECU that drops oversized UDS payloads before they reach the AGL service.
bash
# Configuration example: rebuild AGL service with stack protection
export CFLAGS="-fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2"
export LDFLAGS="-Wl,-z,relro -Wl,-z,now"
bitbake -c cleansstate agl-service-can-low-level
bitbake agl-service-can-low-level

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechAgl

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.02%

  • 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-121
  • Technical References
  • Automotive Linux Gerrit Resource

  • GitHub Gist Code Snippet
  • Related CVEs
  • CVE-2026-37526: AGL afb-daemon Privilege Escalation Flaw

  • CVE-2026-37531: AGL App-Framework Path Traversal Flaw

  • CVE-2026-37532: AGL CAN Service Buffer Overflow Flaw

  • CVE-2026-37525: AGL afb-daemon Privilege Escalation Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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