Skip to content
OpenAdvisories
Medium · 6.2 CVE-2026-42627 EUVD-2026-31476GHSA-cf4x-r2x9-wwh2

In Arm ArmNN through 2026-03-27, an integer overflow in TensorShape::GetNumElements() in armnn/Tensor.cpp allows a crafted TFLite model fil…

Published May 22, 2026 · Updated May 26, 2026 · 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 armnn No fix yet —
Debian 13 armnn No fix yet —
Debian 12 armnn No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 armnn No fix yet —
Ubuntu 25.10 armnn No fix yet —
Ubuntu 24.04 LTS armnn No fix yet —
Ubuntu 22.04 LTS armnn No fix yet —

References