# CVE-2026-42485: AGL agl-service-can-low-level contains a stack buffer overflow in the uds-c library.

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-02)
- Published: 2026-05-01T00:00:00.000Z
- Modified: 2026-06-17T10:47:55.610Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://gerrit.automotivelinux.org/gerrit/apps/agl-service-can-low-level>
- <https://gist.github.com/sgInnora/8526eedcfd826d05ef1fc45d8f405643>

## Sources

- CVE List: [CVE-2026-42485](https://www.cve.org/CVERecord?id=CVE-2026-42485), CVE Terms of Use, modified 2026-05-01
- NVD: [CVE-2026-42485](https://nvd.nist.gov/vuln/detail/CVE-2026-42485), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-42485 · Whole record: https://cve.day/CVE-2026-42485.json · Rebuilt by cve.day 2026-11-25T22:59:20.432Z
