CVE-2026-42627
CVE-2026-42627
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 6.2 · Medium · EPSS 0.1%
- Published
- Updated
Stack: system
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
armnn Debian:12
- Versions
- 20.08-12
- 20.08-13
- 23.08-2
- 23.08-3
- 23.08-4
- 23.08-4.1
- 23.08-4.1~exp1
- 23.08-4.1~exp2
- 23.08-5
- 23.08-5.1
- 23.08-5.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
armnn Debian:13
- Versions
- 23.08-5
- 23.08-5.1
- 23.08-5.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
armnn Debian:14
- Versions
- 23.08-5
- 23.08-5.1
- 23.08-5.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
armnn Ubuntu:22.04:LTS
- Versions
- 20.08-9
- 20.08-10
- 20.08-10build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
armnn Ubuntu:24.04:LTS
- Versions
- 23.08-3
- 23.08-4
- 23.08-4build1
- 23.08-4.1
- 23.08-4.1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
armnn Ubuntu:25.10
- Versions
- 23.08-5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
armnn Ubuntu:26.10
- Versions
- 23.08-5.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published