Skip to main content

iso14229 EUVDEUVD-2026-36664

| CVE-2026-54413 HIGH
Integer Underflow (CWE-191)
2026-06-14 TuranSec GHSA-36r7-c6f4-gj9g
7.8
CVSS 4.0 · Vendor: TuranSec
View

Attack ChainAIDerived

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

  1. Access
    Identify DoIP or ISO-TP diagnostic endpoint
  2. Delivery
    Send well-formed 0x27 SecurityAccess seed request
  3. Exploit
    Send single-byte 0x27 malformed request
  4. Execution
    Trigger uint16_t underflow to length 65535
  5. Persist
    Callback iterates 65535 bytes past 4KB receive buffer
  6. Impact
    UDS server crash (DoS) or OOB memory read

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
Exploitation Conditions

Two concrete conditions must be met: (1) the attacker must have already sent any syntactically well-formed 0x27 SecurityAccess message to the target UDS server in the same session - this is a trivial prerequisite achievable with a single valid diagnostic frame; (2) the target must be running driftregion iso14229 version 0.9.0 or earlier as its UDS server. No authentication is required; the 0x27 handler is reachable in the default diagnostic session without a prior SecurityAccess seed-key exchange. The attack is transport-agnostic and exploitable over CAN bus, OBD-II, ISO-TP, and DoIP - the latter enables network-remote exploitation without physical vehicle proximity. Exploitation is limited by: the sequencing requirement (one prior well-formed 0x27 packet must precede the malformed one-byte packet); the specific library in use (only iso14229 deployments are affected, not other UDS implementations); and the behavior of the application-layer SecAccessValidateKey or SecAccessRequestSeed callback, which determines whether exploitation results in a crash only or also in memory disclosure.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VA:H, score 7.8) accurately reflects the real-world risk profile. Attack complexity is genuinely low: a single malformed one-byte packet triggers the underflow. No authentication or privileges are required; the vulnerable handler is reachable in the default diagnostic session without prior key negotiation. The high availability impact (VA:H) maps to a reliable crash of the UDS server process. The low confidentiality impact (VC:L) reflects the potential for an OOB read of process memory, though actual exfiltration depends on callback implementation behavior. EPSS data was not provided in source intelligence; however, the CVSS 4.0 E:P supplemental metric confirms publicly available exploit code exists, elevating real-world exploitation probability beyond theoretical. The vulnerability is not listed in CISA KEV at time of analysis, suggesting exploitation has not yet been confirmed at scale. The critical qualifying condition - that the malicious single-byte request must follow any prior well-formed 0x27 message - introduces a trivial but real sequencing prerequisite, marginally raising practical AC in deployment. In automotive and OT contexts, the availability impact to a crashed ECU or diagnostic server carries safety implications beyond typical IT CVE scoring, warranting treatment as higher priority than the 7.8 score alone suggests.

Exploit ScenarioDerived

An attacker with network access to a vehicle's DoIP diagnostic interface (e.g., via an Ethernet-enabled OBD-II adapter or telematics gateway) first sends any syntactically valid 0x27 SecurityAccess request to satisfy the sequencing prerequisite, then immediately sends a one-byte 0x27 frame. The UDS server's Handle_0x27_SecurityAccess() computes a key-data length of 65535 and passes it to the application's seed/key callback, which crashes the server or leaks stack/heap memory contents back to the attacker. The CVSS 4.0 E:P metric indicates publicly available exploit code exists, meaning this scenario is scriptable from available tooling.

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

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

Alert me

AnalysisAIv1 – Jun 14, 2026

Integer underflow and out-of-bounds read in driftregion iso14229 through version 0.9.0 allows remote unauthenticated attackers to crash a UDS server or read up to 65535 bytes of memory past the 4KB receive buffer by sending a single-byte 0x27 SecurityAccess diagnostic request. The Handle_0x27_SecurityAccess() function in iso14229.c at line 1447 fails to validate that recv_len is at least 2 before computing key-data length via unsigned subtraction, uniquely among all other sub-function handlers in the library. No public exploit identified at time of analysis, though the CVSS 4.0 supplemental metric E:P indicates publicly available exploit code exists, and the vulnerability is exposed across CAN bus, OBD-II, ISO-TP, and DoIP transports in the default diagnostic session on automotive ECUs, industrial controllers, and IoT devices.

RemediationAI

No vendor-released patch identified at time of analysis; the upstream fix version has not been independently confirmed from available references. Integrators should monitor https://github.com/driftregion/iso14229 for a release that adds an explicit recv_len >= 2 lower-bound check in Handle_0x27_SecurityAccess() consistent with all other sub-function handlers in the library. Until a patch is available, the most targeted compensating control is to add a transport-layer length filter that drops any 0x27 SecurityAccess request shorter than UDS_0X27_REQ_BASE_LEN (2 bytes) before it reaches the iso14229 handler; this eliminates the underflow condition without disabling the diagnostic service. If 0x27 SecurityAccess functionality is not operationally required, disabling SecurityAccess session support in the UDS server configuration removes the attack surface entirely - note this will break any key-based diagnostic authentication flows. On DoIP-accessible deployments, restricting diagnostic session access to known tester IP addresses or requiring VPN/network segmentation limits exposure from opportunistic attackers while preserving diagnostic workflows for authorized tools. OBD-II and CAN bus physically adjacent attack vectors are inherently lower risk but physical port locking on deployed ECUs should be considered for high-assurance environments.

Affected VersionsENISA

iso14229 0 ≤0.9.0

Affected Packages

euvd iso14229 no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

iso14229 (CPE: cpe:2.3:a:driftregion:iso14229:*:*:*:*:*:*:*:*) is an open-source implementation of the ISO 14229 Unified Diagnostic Services (UDS) protocol, commonly embedded in automotive ECUs, industrial controllers, and IoT devices. UDS 0x27 SecurityAccess is a sub-service used to negotiate cryptographic seed-key authentication. The root cause is CWE-191 (Integer Underflow), which directly enables CWE-125 (Out-of-Bounds Read). Specifically, Handle_0x27_SecurityAccess() in iso14229.c reads recv_buf[1] to extract the SecurityAccess subFunction without first asserting recv_len >= 2. It then computes the key-data argument length as the unsigned 16-bit subtraction (uint16_t)(recv_len - UDS_0X27_REQ_BASE_LEN); when recv_len is 1, the result wraps to 65535. This value is forwarded as args.len to the application's SecAccessValidateKey or SecAccessRequestSeed callback, which typically iterates or copies that many bytes from the 4KB receive buffer - exposing up to 64KB of process memory or triggering a crash. Every other UDS sub-function handler in the library (0x10, 0x11, 0x14, 0x19, 0x22, 0x23, 0x28, and others) performs an explicit recv_len lower-bound check; Handle_0x27_SecurityAccess is the sole outlier, suggesting a missed code-review parity check during development.

Know when Iso14229 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

Vendor (TuranSec) PRIMARY 7.8 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/AU:Y/V:D
vuln.today AI 8.2 HIGH

Network-reachable via DoIP with no authentication (PR:N); OOB read yields limited memory disclosure (C:L); reliable crash of UDS server (A:H); no integrity impact; scope stays within the server process (S:U).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

driftregion iso14229 through 0.9.0 contains an integer underflow and downstream out-of-bounds read in the Handle_0x27_SecurityAccess() function in iso14229.c that allows a remote unauthenticated attacker to crash a UDS server and potentially read memory past the receive buffer by sending a single-byte 0x27 SecurityAccess request that follows any earlier well-formed 0x27 message. The handler reads the SecurityAccess subFunction from recv_buf[1] without first checking that recv_len is at least 2, then computes the key-data length as the unsigned subtraction (uint16_t)(recv_len - UDS_0X27_REQ_BASE_LEN); when recv_len equals 1 the result underflows to 65535 and is passed as args.len to the application's SecAccessValidateKey or SecAccessRequestSeed callback, which typically iterates or copies that many bytes from the 4-KB receive buffer. Every other UDS sub-function handler in the library (0x10, 0x11, 0x14, 0x19, 0x22, 0x23, 0x28, and others) performs an explicit recv_len lower-bound check before indexing; Handle_0x27_SecurityAccess is the sole outlier. The vulnerable handler reaches over CAN bus, OBD-II, ISO-TP, and DoIP transports and is exposed in the default diagnostic session without prior authentication; deployments on automotive ECUs, industrial controllers, and IoT devices that ship iso14229 as their UDS server are affected.

Executive ViewAI

Why It Matters

The driftregion iso14229 library (versions through 0.9.0) contains a critical remote vulnerability enabling unauthenticated attackers to crash vehicle and industrial control systems or extract sensitive memory. This affects automotive ECUs, industrial controllers, and IoT devices exposed on diagnostic interfaces (CAN bus, OBD-II, ISO-TP, DoIP) in default configuration. With publicly available exploit code confirmed and no vendor-released patch identified, organizations must immediately assess exposure and implement defensive controls.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict diagnostic interface access via network segmentation, VLANs, and firewall policies limiting to trusted networks; (2) Disable the vulnerable 0x27 SecurityAccess handler in iso14229 configuration if operationally feasible; (3) Deploy request filtering or proxy solutions to reject single-byte 0x27 requests; (4) Implement intrusion detection signatures for 0x27 SecurityAccess exploitation attempts; (5) Apply rate limiting and request validation at application layer on UDS endpoints.

Threat Intelligence Overview

EPSS Score
0.5%
Top 64% exploitable
Social Media
4
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL 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.5%
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

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
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.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

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