Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/ARM-software/armnn/blob/main/src/armnn/Tensor.cpp
- https://github.com/ARM-software/armnn/blob/main/src/armnnTfLiteParser/TfLitePars
FAQ
What is CVE-2026-42627?
CVE-2026-42627 is a vulnerability with a CVSS score of 6.2 (MEDIUM). 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 b...
How severe is CVE-2026-42627?
CVE-2026-42627 has been rated MEDIUM with a CVSS base score of 6.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-42627?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.