CVE-2026-37536

Stack Buffer Overflow in uds-c send_diagnostic_request Function

Published May 1, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Miaofng
Miaofng uds-c
Vendors & Products Miaofng
Miaofng uds-c
Type Values Removed Values Added
Title Stack Buffer Overflow in uds-c send_diagnostic_request Function
Type Values Removed Values Added
Weaknesses CWE-121
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AC:L/AV:A/A:H/C:H/I:H/PR:N/S:U/UI:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
May 1, 2026, 7:45 PM
Reserved
Apr 6, 2026, 12:00 AM
Status
Awaiting Analysis
Published
May 1, 2026, 5:16 PM
Modified
Jun 17, 2026, 10:41 AM