Vulnerability

CVE-2026-42627

mediumCVSS 3.1 6.2Published 22 May 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /ARM-software/armnn/blob/main/src/armnn/Tensor.cpp
  • github.com /ARM-software/armnn/blob/main/src/armnnTfLiteParser/TfLiteP…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning