6.2medium
In Arm ArmNN through 2026-03-27, an integer overflow in TensorShape::GetNumElements() in armnn/Tensor.cpp allows a crafted TFLite model fil…
- Severity
- 6.2medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-42627 changed 2026-05-26 | CVE Terms of Use |
| NVD | CVE-2026-42627 changed 2026-07-23 | Public domain |