CVE-2026-42627
MEDIUM 6.2CVSS 3.1In 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.
- Published
- 22 May 2026
- Last modified
- 23 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-190
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References
- https://github.com/ARM-software/armnn/blob/main/src/armnn/Tensor.cpp
- https://github.com/ARM-software/armnn/blob/main/src/armnnTfLiteParser/TfLiteParser.cpp
History
- 25 Nov 2026 21:02 UTC ยท NVD: first stored (published 22 May 2026)