CVE-2026-42485 Memory corruption in n/a
Stack buffer overflow in AGL uds-c library allows remote code execution on automotive ECUs via crafted diagnostic requests.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-42485?
CVE-2026-42485 is a high-severity memory corruption vulnerability in n/a, published on 1 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-121
Which versions are affected by CVE-2026-42485?
How do I fix CVE-2026-42485?
No fix has been published for CVE-2026-42485 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-42485 being exploited?
There is no known exploitation of CVE-2026-42485 in the wild and no public exploit code.
Sources
Also known as GHSA-hm7q-2h38-jcwx.