Skip to main content

socketcand EUVDEUVD-2026-26691

| CVE-2026-37538 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-05-01 mitre
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Scan for socketcand listeners on target networks
  2. Delivery
    Send crafted connection request with oversized bus_name
  3. Exploit
    Trigger stack buffer overflow in main()
  4. Execution
    Crash daemon or execute arbitrary code
  5. Impact
    Gain 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n/a n/a

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

NVD PRIMARY 7.5 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
CVSS changed
May 01, 2026 - 19:22 NVD
7.5 (HIGH)
CVE Published
May 01, 2026 - 00:00 nvd
HIGH 7.5

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 88% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy