CVE-2026-42627 Integer overflow in n/a

Medium 6.2 Published Updated

A crafted TFLite model triggers an integer overflow in ArmNN, leading to a heap-based buffer over-read during optimization.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-42627?

CVE-2026-42627 is a medium-severity vulnerability in n/a, published on 22 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.

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.

Weakness: CWE-190

Which versions are affected by CVE-2026-42627?

How do I fix CVE-2026-42627?

No fix has been published for CVE-2026-42627 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-42627 being exploited?

There is no known exploitation of CVE-2026-42627 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-42627, GHSA-cf4x-r2x9-wwh2, UBUNTU-CVE-2026-42627.

Is CVE-2026-42627 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free