# CVE-2026-37536: miaofng/uds-c commit e506334e270d77b20c0bc259ac6c7d8c9b702b7a (2016-10-05) contains a stack buffer overflow in senddiagnosticrequest.

- Severity: High 8.8 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:L/AV:A/A:H/C:H/I:H/PR:N/S:U/UI:N`
- 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.27%, higher than 19% of CVEs (2026-12-02)
- Published: 2026-05-01T00:00:00.000Z
- Modified: 2026-06-17T10:41:34.573Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

miaofng/uds-c commit e506334e270d77b20c0bc259ac6c7d8c9b702b7a (2016-10-05) contains a stack buffer overflow in send_diagnostic_request. A 6-byte stack buffer (MAX_DIAGNOSTIC_PAYLOAD_SIZE=6) receives memcpy at offset 1+pid_length with payload_length bytes. MAX_UDS_REQUEST_PAYLOAD_LENGTH=7, so 1+2+7=10 exceeds buffer by 4 bytes. No bounds check on payload_length before memcpy.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://github.com/miaofng/uds-c>
- <https://github.com/openxc/uds-c>
- <https://gist.github.com/sgInnora/f4ac66faeefe07a653ceeb3f58cdc381>

## Sources

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

---

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