Skip to main content
Vulnerability Database/CVE-2026-111282

CVE-2026-111282: Driftregion iso14229 Auth Bypass Vulnerability

CVE-2026-111282 is an authentication bypass flaw in Driftregion iso14229 that exploits integer wraparound to bypass file path checks. Attackers can crash systems or disclose memory. This article covers technical details, affected versions, impact, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-111282 Overview

CVE-2026-111282 is an integer wraparound vulnerability in the Driftregion iso14229 library before version 0.10.1. The flaw resides in the Handle_0x38_RequestFileTransfer function, which processes Unified Diagnostic Services (UDS) RequestFileTransfer requests. Unauthenticated attackers can send a short RequestFileTransfer (Service ID 0x38) message with filePathAndNameLength set between 0xFFFC and 0xFFFF, bypassing the file path length check. The resulting arithmetic wraparound causes callback functions to read past the receive buffer. This leads to target crashes or memory disclosure in automotive and embedded systems that implement the ISO 14229 UDS protocol stack.

Critical Impact

Remote unauthenticated attackers can crash UDS servers or disclose adjacent memory contents by sending a single malformed 0x38 diagnostic request over the network.

Affected Products

  • Driftregion iso14229 library versions prior to 0.10.1
  • Automotive ECUs and embedded controllers linking the vulnerable UDS server implementation
  • Diagnostic tooling and bench systems built on the affected ISO 14229 stack

Discovery Timeline

  • 2026-10-15 - CVE-2026-111282 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-111282

Vulnerability Analysis

The vulnerability is classified as an integer wraparound [CWE-190] affecting the ISO 14229 Unified Diagnostic Services implementation. The Handle_0x38_RequestFileTransfer function validates the attacker-controlled filePathAndNameLength field against the remaining buffer size using arithmetic that overflows a fixed-width integer. When the attacker supplies a length value between 0xFFFC and 0xFFFF, the length check computation wraps around and succeeds despite the declared length exceeding the actual received payload.

Subsequent callback handlers then dereference the declared length and read past the end of the receive buffer. Depending on the memory layout of the target ECU, this results in either a segmentation fault terminating the diagnostic service or the inclusion of adjacent heap or stack memory in the server response. Because UDS stacks typically run with high privilege on embedded controllers, loss of availability can disable safety-relevant diagnostic functions.

Root Cause

The root cause is unchecked arithmetic on a 16-bit length field in the file transfer request parser. The validation logic at src/server.c:1151-1161 in release 0.10.0 adds the length to an offset without first checking for overflow, allowing crafted values near the integer maximum to pass the subsequent <= comparison against the buffer bound.

Attack Vector

An unauthenticated remote attacker with reachability to the UDS transport (ISO-TP over CAN, DoIP over Ethernet, or any other configured carrier) sends a single RequestFileTransfer frame with SID 0x38, a modeOfOperation byte, and a filePathAndNameLength field set to 0xFFFC-0xFFFF. No authentication, user interaction, or prior diagnostic session is required.

The following patch excerpts from the upstream fix commit illustrate the hardening changes applied in the 0.10.1 release:

text
+# choice debugging flags
+
 # common --toolchain_resolution_debug='@bazel_tools//tools/cpp:toolchain_type'
-common --announce_rc
-common --show_timestamps
+# common --announce_rc
+# common --show_timestamps

 build --strip=never
 build --workspace_status_command=tools/workspace_status.sh
 build --stamp
 build --verbose_failures

-# Hermetic fuzzing configuration with LibFuzzer
-common:hermetic-fuzz --config=hermetic-llvm
+# fuzzing configuration with LibFuzzer
+common:fuzz --config=llvm
+common:fuzz --@rules_fuzzing//fuzzing:cc_engine=@rules_fuzzing//fuzzing/engines:libfuzzer
+common:fuzz --@rules_fuzzing//fuzzing:cc_engine_instrumentation=libfuzzer
+common:fuzz --@rules_fuzzing//fuzzing:cc_engine_sanitizer=asan-ubsan

Source: GitHub Commit 2e36afc

The commit also expands fuzzing coverage with AddressSanitizer and UndefinedBehaviorSanitizer, directly targeting the class of integer wraparound bugs that produced this CVE.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-111282

Indicators of Compromise

  • UDS requests with SID 0x38 containing a filePathAndNameLength field of 0xFFFC, 0xFFFD, 0xFFFE, or 0xFFFF.
  • ECU crash logs, watchdog resets, or diagnostic service timeouts correlated with inbound RequestFileTransfer traffic.
  • Response frames to 0x38 requests that are larger than expected or contain non-deterministic trailing bytes indicative of out-of-bounds reads.

Detection Strategies

  • Deploy CAN or DoIP intrusion detection rules that flag RequestFileTransfer messages whose declared length exceeds the actual frame payload length.
  • Instrument builds of iso14229 with AddressSanitizer in test benches to catch out-of-bounds reads in the 0x38 handler before deployment.
  • Monitor diagnostic gateway logs for repeated malformed 0x38 requests originating from a single tester address.

Monitoring Recommendations

  • Capture full UDS traffic at diagnostic gateways and forward parsed events to a central SIEM for anomaly analysis.
  • Alert on unexpected RequestFileTransfer activity outside of authorized flashing or service windows.
  • Correlate ECU reset telemetry with inbound diagnostic traffic to identify exploitation attempts in production fleets.

How to Mitigate CVE-2026-111282

Immediate Actions Required

  • Upgrade all firmware images and host applications linking iso14229 to version 0.10.1 or later.
  • Audit downstream products and SDK integrations for vendored copies of the iso14229 source tree and rebuild them against the patched release.
  • Restrict network access to UDS endpoints (DoIP port 13400, ISO-TP CAN IDs) to authorized diagnostic equipment only.

Patch Information

The fix is included in release iso14229 v0.10.1. Technical details are documented in the GitHub Security Advisory GHSA-5hgv-5fqg-8vcr, the companion advisory GHSA-ph4f-7v39-8hgm, and the VulnCheck advisory. The affected pre-patch code is visible at server.c lines 1151-1161.

Workarounds

  • Disable the RequestFileTransfer (0x38) service in UDS server configuration when file transfer functionality is not required.
  • Enforce an extended or secured diagnostic session with authentication (0x27 SecurityAccess or 0x29 Authentication) before accepting 0x38 requests.
  • Add a gateway-level filter that drops 0x38 requests whose declared filePathAndNameLength exceeds a sane maximum such as 4096.
bash
# Pin the patched iso14229 release in a Bazel WORKSPACE
http_archive(
    name = "iso14229",
    urls = ["https://github.com/driftregion/iso14229/archive/refs/tags/0.10.1+9e7c47e8.tar.gz"],
    strip_prefix = "iso14229-0.10.1",
)

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.