CVE-2026-37530

AGL agl-service-can-low-level thru 17.1.12 contains a stack buffer overflow in the uds-c library. The send_diagnostic_request function in uds.c allocates a 6-byte stack buffer (MAX_DIAGNOSTIC_PAYLOAD_SIZE=6) but copies up to 7 bytes (MAX_UDS_REQUEST_PAYLOAD_LENGTH=7) via memcpy at an offset of 1+pid_length (2-3 bytes), resulting in 1-4 bytes of controlled stack overflow. The payload_length field (uint8_t) has no bounds check against the destination buffer. On 32-bit ARM automotive ECUs without stack canaries, this can lead to return address overwrite and RCE.
Configurations

Configuration 1 (hide)

cpe:2.3:o:linuxfoundation:automotive_grade_linux:*:*:*:*:*:*:*:*

History

20 May 2026, 15:25

Type Values Removed Values Added
CPE cpe:2.3:o:linuxfoundation:automotive_grade_linux:*:*:*:*:*:*:*:*
References () https://gerrit.automotivelinux.org/gerrit/apps/agl-service-can-low-level - () https://gerrit.automotivelinux.org/gerrit/apps/agl-service-can-low-level - Broken Link
References () https://gist.github.com/sgInnora/8526eedcfd826d05ef1fc45d8f405643 - () https://gist.github.com/sgInnora/8526eedcfd826d05ef1fc45d8f405643 - Third Party Advisory
First Time Linuxfoundation
Linuxfoundation automotive Grade Linux

01 May 2026, 19:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CWE CWE-121

01 May 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-01 17:16

Updated : 2026-05-20 15:25


NVD link : CVE-2026-37530

Mitre link : CVE-2026-37530

CVE.ORG link : CVE-2026-37530


JSON object : View

Products Affected

linuxfoundation

  • automotive_grade_linux
CWE
CWE-121

Stack-based Buffer Overflow