{"id":"CVE-2022-25334","aliases":["CVE-2022-25334"],"related":[],"kind":"vulnerability","state":"published","title":"Stack overflow on SK_LOAD signature length field in Texas Instruments OMAP L138","summary":"The Texas Instruments OMAP L138 (secure variants) trusted execution environment (TEE) lacks a bounds check on the signature size field in the SK_LOAD module loading routine, present in mask ROM. A module with a sufficiently large signature field causes a stack overflow, affecting secure kernel data pages. This can be leveraged to obtain arbitrary code execution in secure supervisor context by overwriting a SHA256 function pointer in the secure kernel data area when loading a forged, unsigned SK_LOAD module encrypted with the CEK (obtainable through CVE-2022-25332). This constitutes a full break of the TEE security architecture.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The Texas Instruments OMAP L138 (secure variants) trusted execution environment (TEE) lacks a bounds check on the signature size field in the SK_LOAD module loading routine, present in mask ROM. A module with a sufficiently large signature field causes a stack overflow, affecting secure kernel data pages. This can be leveraged to obtain arbitrary code execution in secure supervisor context by overwriting a SHA256 function pointer in the secure kernel data area when loading a forged, unsigned SK_LOAD module encrypted with the CEK (obtainable through CVE-2022-25332). This constitutes a full break of the TEE security architecture.","source":"cvelist"},{"lang":"es","text":"Texas Instruments OMAP L138 (variantes seguras) Trusted Execution Environment (TEE) carece de una verificación de límites en el campo de tamaño de firma en la rutina de carga del módulo SK_LOAD, presente en la máscara ROM. Un módulo con un campo de firma suficientemente grande provoca un desbordamiento de la pila, lo que afecta las páginas seguras de datos del kernel. Esto se puede aprovechar para obtener la ejecución de código arbitrario en un contexto de supervisor seguro sobrescribiendo un puntero de función SHA256 en el área segura de datos del kernel al cargar un módulo SK_LOAD falsificado y sin firmar cifrado con CEK (obtenible a través de CVE-2022-25332). Esto constituye una ruptura total de la arquitectura de seguridad de TEE.","source":"nvd"}],"published":"2023-10-19T09:36:09.230Z","modified":"2026-06-17T04:33:24.923Z","severity":{"scorer":"NCSC-NL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H/E:F/RL:U/RC:C/CR:H/IR:H/AR:H/MAV:L/MAC:L/MPR:H/MUI:N/MS:C/MC:H/MI:H/MA:H","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"NCSC-NL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H/E:F/RL:U/RC:C/CR:H/IR:H/AR:H/MAV:L/MAC:L/MPR:H/MUI:N/MS:C/MC:H/MI:H/MA:H","score":8.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-121","CWE-787"],"affected":[{"ranges":[{"version":"L138","status":"affected"}],"vendor":"Texas Instruments","product":"OMAP","source":"cvelist"},{"ranges":[],"vendor":"ti","product":"omap_l138_firmware","cpe":"cpe:2.3:o:ti:omap_l138_firmware:-:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://tetraburst.com/","tags":["not-applicable","related","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Midnight Blue"],"assigner":"NCSC-NL","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25334","url":"https://www.cve.org/CVERecord?id=CVE-2022-25334","licence":"CVE Terms of Use","modified":"2024-08-03T04:36:06.873Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25334","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25334","licence":"Public domain","modified":"2026-06-17T04:33:24.923Z"}],"updatedAt":"2026-11-25T22:58:19.641Z","epss":{"score":0.00206,"percentile":0.11206,"date":"2026-12-01T12:00:22.000Z"}}