{"id":"CVE-2026-42627","aliases":["CVE-2026-42627"],"related":[],"kind":"vulnerability","state":"published","title":"In Arm ArmNN through 2026-03-27, an integer overflow in TensorShape::GetNumElements() in armnn/Tensor.cpp allows a crafted TFLite model fil…","summary":"In Arm ArmNN through 2026-03-27, an integer overflow in TensorShape::GetNumElements() in armnn/Tensor.cpp allows a crafted TFLite model file to bypass buffer size validation and trigger a heap-based buffer over-read during model optimization. The overflow occurs when multiplying tensor dimensions using 32-bit unsigned arithmetic without overflow detection, causing GetNumBytes() to return an understated allocation size. During Optimize()->InferOutputShapes(), the BatchToSpaceNdLayer reads beyond the allocated buffer.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Arm ArmNN through 2026-03-27, an integer overflow in TensorShape::GetNumElements() in armnn/Tensor.cpp allows a crafted TFLite model file to bypass buffer size validation and trigger a heap-based buffer over-read during model optimization. The overflow occurs when multiplying tensor dimensions using 32-bit unsigned arithmetic without overflow detection, causing GetNumBytes() to return an understated allocation size. During Optimize()->InferOutputShapes(), the BatchToSpaceNdLayer reads beyond the allocated buffer.","source":"cvelist"},{"lang":"es","text":"En Arm ArmNN hasta el 27-03-2026, un desbordamiento de entero en TensorShape::GetNumElements() en armnn/Tensor.cpp permite que un archivo de modelo TFLite manipulado omita la validación del tamaño del búfer y desencadene una lectura excesiva del búfer basada en el montón durante la optimización del modelo. El desbordamiento ocurre al multiplicar las dimensiones del tensor usando aritmética sin signo de 32 bits sin detección de desbordamiento, lo que provoca que GetNumBytes() devuelva un tamaño de asignación subestimado. Durante Optimize()->InferOutputShapes(), la capa BatchToSpaceNdLayer lee más allá del búfer asignado.","source":"nvd"}],"published":"2026-05-22T00:00:00.000Z","modified":"2026-07-23T16:10:00.137Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.2,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.2,"rating":"MEDIUM"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"}],"references":[{"url":"https://github.com/ARM-software/armnn/blob/main/src/armnn/Tensor.cpp","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/ARM-software/armnn/blob/main/src/armnnTfLiteParser/TfLiteParser.cpp","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-26T15:16:30.315Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42627","url":"https://www.cve.org/CVERecord?id=CVE-2026-42627","licence":"CVE Terms of Use","modified":"2026-05-26T15:16:51.610Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42627","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42627","licence":"Public domain","modified":"2026-07-23T16:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:22.199Z","epss":{"score":0.00132,"percentile":0.02968,"date":"2026-12-01T12:00:22.000Z"}}