Vulnerability · Published May 22, 2026 · Assigned by mitre
CVE-2026-42627
Medium 6.2
In plain English
A medium-severity integer overflow in the armnn package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities).
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | armnn | no fix listed | DEBIAN-CVE-2026-42627 |
| Debian:13 | armnn | no fix listed | DEBIAN-CVE-2026-42627 |
| Debian:14 | armnn | no fix listed | DEBIAN-CVE-2026-42627 |
| Ubuntu:22.04:LTS | armnn | no fix listed | UBUNTU-CVE-2026-42627 |
| Ubuntu:24.04:LTS | armnn | no fix listed | UBUNTU-CVE-2026-42627 |
| Ubuntu:25.10 | armnn | no fix listed | UBUNTU-CVE-2026-42627 |
| Ubuntu:26.10 | armnn | no fix listed | UBUNTU-CVE-2026-42627 |
Affected products (as reported)
Weakness: CWE-190 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H