{"id":"CVE-2026-42485","aliases":["CVE-2026-42485"],"related":[],"kind":"vulnerability","state":"published","title":"AGL agl-service-can-low-level contains a stack buffer overflow in the uds-c library.","summary":"AGL agl-service-can-low-level 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"AGL agl-service-can-low-level 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.","source":"cvelist"}],"published":"2026-05-01T00:00:00.000Z","modified":"2026-06-17T10:47:55.610Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-121"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"}],"references":[{"url":"https://gerrit.automotivelinux.org/gerrit/apps/agl-service-can-low-level","tags":[],"sources":["cvelist","nvd"]},{"url":"https://gist.github.com/sgInnora/8526eedcfd826d05ef1fc45d8f405643","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-05-01T18:39:48.295Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42485","url":"https://www.cve.org/CVERecord?id=CVE-2026-42485","licence":"CVE Terms of Use","modified":"2026-05-01T18:40:15.456Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42485","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42485","licence":"Public domain","modified":"2026-06-17T10:47:55.610Z"}],"updatedAt":"2026-11-25T22:59:20.432Z","epss":{"score":0.00319,"percentile":0.2687,"date":"2026-12-02T12:00:21.000Z"}}