{"id":"CVE-2026-54413","aliases":["CVE-2026-54413"],"related":[],"kind":"vulnerability","state":"published","title":"iso14229 Integer Underflow and Out-of-Bounds Read in Handle_0x27_SecurityAccess()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"driftregion iso14229 hasta la versión 0.9.0 contiene un desbordamiento negativo de enteros y una lectura fuera de límites posterior en la función Handle_0x27_SecurityAccess() en iso14229.c que permite a un atacante remoto no autenticado bloquear un servidor UDS y potencialmente leer memoria más allá del búfer de recepción enviando una solicitud SecurityAccess de un solo byte 0x27 que sigue a cualquier mensaje 0x27 bien formado anterior. El gestor lee la subfunción SecurityAccess de recv_buf[1] sin verificar primero que recv_len sea al menos 2, luego calcula la longitud de los datos de la clave como la resta sin signo (uint16_t)(recv_len - UDS_0X27_REQ_BASE_LEN); cuando recv_len es igual a 1, el resultado sufre un desbordamiento negativo a 65535 y se pasa como args.len a la devolución de llamada SecAccessValidateKey o SecAccessRequestSeed de la aplicación, que típicamente itera o copia esa cantidad de bytes del búfer de recepción de 4 KB. Cada otro gestor de subfunción UDS en la biblioteca (0x10, 0x11, 0x14, 0x19, 0x22, 0x23, 0x28 y otros) realiza una verificación explícita del límite inferior de recv_len antes de la indexación; Handle_0x27_SecurityAccess es la única excepción. El gestor vulnerable es accesible a través de los transportes CAN bus, OBD-II, ISO-TP y DoIP y está expuesto en la sesión de diagnóstico predeterminada sin autenticación previa; las implementaciones en ECUs automotrices, controladores industriales y dispositivos IoT que incluyen iso14229 como su servidor UDS se ven afectadas.","source":"nvd"}],"published":"2026-06-14T17:38:16.326Z","modified":"2026-08-10T12:17:17.403Z","severity":{"scorer":"TuranSec","scheme":"CVSS:4.0","vector":"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","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"TuranSec","scheme":"CVSS:4.0","vector":"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","score":7.8,"rating":"HIGH"},{"scorer":"TuranSec","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","score":8.2,"rating":"HIGH"}],"cwes":["CWE-125","CWE-191"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"0.9.0","status":"affected"}],"vendor":"driftregion","product":"iso14229","repo":"https://github.com/driftregion/iso14229","source":"cvelist"}],"references":[{"url":"https://github.com/driftregion/iso14229","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/driftregion/iso14229/blob/main/iso14229.c#L1447","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://cwe.mitre.org/data/definitions/191.html","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://cwe.mitre.org/data/definitions/125.html","tags":["technical-description"],"sources":["cvelist","nvd"]}],"credits":["Burxonov Muslimbek"],"assigner":"TuranSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-06-15T15:08:54.075Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54413","url":"https://www.cve.org/CVERecord?id=CVE-2026-54413","licence":"CVE Terms of Use","modified":"2026-08-10T11:44:00.458Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54413","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54413","licence":"Public domain","modified":"2026-08-10T12:17:17.403Z"}],"updatedAt":"2026-11-25T22:59:24.619Z","epss":{"score":0.00407,"percentile":0.3709,"date":"2026-12-01T12:00:22.000Z"}}