Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessScan for socketcand listeners on target networks
-
DeliverySend crafted connection request with oversized bus_name
-
ExploitTrigger stack buffer overflow in main()
-
ExecutionCrash daemon or execute arbitrary code
-
ImpactGain access to CAN bus interfaces
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions - remote unauthenticated exploitation against default configurations of socketcand 0.4.2. The CVSS vector (AV:N/AC:L/PR:N/UI:N) confirms that attackers require only network connectivity to the socketcand TCP listener port with no authentication, no user interaction, and low attack complexity. The vulnerability triggers during processing of the bus_name parameter in the main function, which executes during daemon initialization or connection handling. Exploitation success depends on socketcand binding to a network-accessible interface (0.0.0.0 or public IP) rather than localhost-only. Limiting factors: the daemon must be running and accepting connections, and network access controls (firewalls, network segmentation) may block attacker connectivity to industrial/automotive network segments where socketcand typically operates. The specific bus_name overflow length and payload format required for exploitation beyond DoS (to achieve code execution) are not detailed in the CVE description but may be documented in the proof-of-concept code. |
| Impact | Real-world risk is moderate to high for exposed socketcand instances but low for properly segmented deployments. The CVSS 7.5 score reflects the ease of exploitation (AV:N/AC:L/PR:N/UI:N) but the CVSS vector's scope shows only availability impact (A:H with C:N/I:N), suggesting the vendor or NVD analyzed this strictly as a DoS condition. However, stack-based buffer overflows (CWE-121) inherently carry code execution potential that may not be captured in the base CVSS score - the 'other unspecified impacts' language in the description acknowledges this uncertainty. A public proof-of-concept exists (GitHub Gist reference), lowering the exploitation barrier for attackers. EPSS score is unavailable, and KEV status is not confirmed, indicating this is not yet observed in widespread or targeted campaigns. From an SSVC perspective: exploitation is PUBLIC (POC available), automatable (network vector, no auth), and technical impact is PARTIAL (confirmed DoS, possible RCE). The primary risk factor is deployment context - socketcand provides network access to CAN bus interfaces used in vehicles, industrial control systems, and critical infrastructure. If exposed to untrusted networks without authentication or filtering, this becomes a critical availability risk and potential foothold for lateral movement. Organizations not using socketcand or those with properly segmented OT/vehicle networks face negligible risk. The incomplete CPE data raises confidence concerns about identifying all affected deployments via automated scanning. |
| Exploit ScenarioDerived | An attacker scans industrial networks for exposed socketcand instances (default TCP port or custom ports) and identifies version 0.4.2 through banner grabbing or service fingerprinting. Using the publicly available proof-of-concept from the GitHub Gist reference, they craft a malicious CAN bus connection request with an oversized bus_name parameter that overflows the stack buffer in main(). This triggers an immediate daemon crash (denial of service), disrupting CAN bus network access for legitimate vehicle diagnostic tools, industrial control systems, or embedded device management platforms. In an advanced scenario, the attacker fine-tunes the overflow payload to overwrite stack return addresses, achieving arbitrary code execution with the privileges of the socketcand daemon process, then pivoting to the underlying CAN bus interfaces for vehicle/industrial system manipulation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 01, 2026
Remote unauthenticated attackers can crash socketcand 0.4.2 daemon by sending a malformed CAN bus name that triggers a stack-based buffer overflow in the main function's socketcand.c implementation. The CVSS vector indicates network-accessible denial of service with no authentication required. A publicly available proof-of-concept exists (GitHub Gist reference), but CISA KEV status is not confirmed, and EPSS data is unavailable. The low attack complexity (AC:L) and network attack vector (AV:N) make this readily exploitable against exposed instances, though the impact is currently limited to availability (A:H) with no confirmed confidentiality or integrity impacts.
RemediationAI
Check the socketcand GitHub repository (https://github.com/dschanoeh/socketcand) for commits addressing CVE-2026-37538 or buffer overflow fixes in socketcand.c after the 0.4.2 release - no vendor-released patch version is confirmed in the provided references, requiring manual verification of the repository's commit history and release tags. If no patched version exists, implement network-level compensating controls: restrict socketcand listener bindings to localhost or trusted management networks only (modify daemon startup parameters to bind to 127.0.0.1 instead of 0.0.0.0), deploy firewall rules allowing connections exclusively from authorized CAN gateway management systems, and apply application-layer filtering to validate bus_name length and format before reaching the vulnerable code path. For production industrial/automotive environments, consider deploying socketcand behind a reverse proxy or API gateway that enforces strict input validation on CAN bus names (maximum length limits, alphanumeric-only character sets). Monitor socketcand processes for unexpected crashes or restart loops as potential exploitation indicators. Trade-off: localhost-only binding eliminates network attack surface but breaks remote CAN interface access workflows - requires deploying management tools on the same host or tunneling through SSH. Advisory references: VulDB entry at https://vuldb.com/vuln/360777 and proof-of-concept at https://gist.github.com/sgInnora/f4ac66faeefe07a653ceeb3f58cdc381 (use PoC details to inform input validation rules).
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
socketcand is a daemon that provides network access to Controller Area Network (CAN) interfaces, commonly used in automotive and industrial control systems. The vulnerability stems from CWE-121 (stack-based buffer overflow) in the main() function of socketcand.c when processing the bus_name parameter. When an attacker supplies a crafted bus_name string exceeding the allocated buffer size, it overwrites adjacent memory on the stack. While the CVSS vector indicates only availability impact (C:N/I:N/A:H), stack-based buffer overflows can theoretically enable arbitrary code execution if the overflow overwrites return addresses or function pointers. The CPE data is incomplete (cpe:2.3:a:n/a:n/a:*), making precise product matching difficult, but the GitHub repository reference confirms socketcand version 0.4.2 as the affected implementation. The vulnerability exists in initialization/configuration parsing logic executed when the daemon starts or processes connection requests.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
Buffer overflow vulnerability in socketcand 0.4.2 in file socketcand.c in function main allows attackers to cause a denial of service or other unspecified impacts via crafted bus_name.
Executive ViewAI
CVE-2026-37538 affects socketcand 0.4.2 and exposes any publicly accessible CAN bus gateway to remote denial-of-service attacks without authentication required. An attacker can crash the daemon by sending a single malformed network packet, disrupting industrial control systems, vehicle diagnostics platforms, or automotive testing environments that depend on socketcand for CAN communication.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Deploy network-level ingress filtering to restrict socketcand port access to known-good client IP ranges only; (2) Implement network segmentation so socketcand runs only on isolated automotive or industrial subnets; (3) Configure firewalls to block malformed CAN frames at the perimeter; (4) Monitor socketcand process for unexpected crashes and establish alerting on restart loops; (5) Consider running socketcand instances in containers with automatic restart policies to reduce downtime from DoS events.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-26691
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB