Skip to main content

Arm ArmNN EUVDEUVD-2026-31476

| CVE-2026-42627 MEDIUM
Integer Overflow or Wraparound (CWE-190)
2026-05-22 mitre GHSA-cf4x-r2x9-wwh2
6.2
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
6.2 MEDIUM
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
Analysis Generated
Jun 08, 2026 - 12:08 vuln.today
CVSS changed
May 26, 2026 - 16:22 NVD
6.2 (MEDIUM)
CVE Published
May 22, 2026 - 00:00 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

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.

AnalysisAI

Integer overflow in Arm ArmNN's TensorShape::GetNumElements() enables a crafted TFLite model to bypass buffer size validation and trigger a heap-based buffer over-read, resulting in a denial of service. Affected systems are those that load externally-supplied or untrusted TFLite model files using any ArmNN build through 2026-03-27. An attacker who controls a model file processed by an ArmNN-backed application can crash the host process during the optimization pass via BatchToSpaceNdLayer's InferOutputShapes() routine. No public exploit code and no active exploitation has been identified at time of analysis; EPSS sits at 0.02% (5th percentile), consistent with low real-world threat.

Technical ContextAI

ArmNN is Arm's open-source neural network inference engine for Arm-based platforms (Cortex-A, Mali GPU, Ethos NPU). The defect resides in TensorShape::GetNumElements() in src/armnn/Tensor.cpp, which computes total element counts by multiplying per-dimension sizes using 32-bit unsigned integer arithmetic with no overflow guard. When the product of dimensions wraps around the 32-bit boundary, GetNumBytes() returns an understated allocation size, so the heap buffer allocated for the tensor is smaller than required. During the model optimization pipeline (Optimize() → InferOutputShapes()), the BatchToSpaceNdLayer reads tensor data beyond the actual allocation, constituting a CWE-190 (Integer Overflow or Wraparound) that cascades into a heap-based buffer over-read. The attack surface is the TFLite parser (src/armnnTfLiteParser/TfLiteParser.cpp), which translates TFLite flatbuffer models into ArmNN's internal graph; no additional runtime or hardware is required to reach the vulnerable code path.

RemediationAI

No vendor-released patch with a confirmed tagged version has been identified at time of analysis. The references point directly to source code files on GitHub (https://github.com/ARM-software/armnn/blob/main/src/armnn/Tensor.cpp and https://github.com/ARM-software/armnn/blob/main/src/armnnTfLiteParser/TfLiteParser.cpp) rather than to a patch advisory or tagged release, so consumers should monitor the ARM-software/armnn repository for a commit that adds overflow detection to TensorShape::GetNumElements(). As a specific compensating control, organizations should restrict ArmNN-based services to loading only models from trusted, integrity-verified sources (e.g., cryptographic signature validation on model files before passing them to the parser); this eliminates the attacker-controlled input prerequisite and neutralizes the vulnerability without requiring a code change. A second control is to sandbox the ArmNN optimization process (e.g., via seccomp, containers, or separate privilege domain) so that a triggered crash is contained and does not affect higher-privilege components; this limits the blast radius to the inference worker process. Do not expose model-upload or model-selection interfaces to unauthenticated or untrusted users until a patched release is available. VulDB advisory reference: https://vuldb.com/vuln/365257.

More in N A

View all
CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

CVE-2026-36356 CRITICAL POC
9.1 May 05

Unauthenticated remote OS command injection in MeiG Smart FORGE_SLT711 cellular gateway firmware MDM9607.LE.1.0-00110-ST

CVE-2026-31071 CRITICAL POC
9.1 May 19

Unauthenticated API access in LalanaChami Pharmacy Management System (commit 5c3d028) allows remote attackers to dump al

CVE-2025-66391 HIGH POC
8.8 Jun 17

In Citrix Cloud through 2025-11-10, an account with read-only access can trigger the beginning of a workflow for write o

CVE-2026-26740 HIGH POC
8.2 Mar 18

Giflib 5.2.2 contains a buffer overflow in the EGifGCBToExtension function that fails to validate allocated memory when

CVE-2025-60464 HIGH POC
7.8 Jun 25

Denial of service in GPAC's MP4Box multimedia tool (versions before 26.02.0) arises from a use-after-free in the gf_sei_

CVE-2026-36355 HIGH POC
7.7 May 05

Arbitrary kernel memory read/write in Realtek rtl819x Jungle SDK Wi-Fi driver allows local unprivileged attackers to acc

CVE-2025-60474 HIGH POC
7.5 Jun 24

Denial of service in GPAC's MP4Box/libgpac media importer (versions before 26.02.0) lets an attacker crash the tool by s

CVE-2026-38639 HIGH POC
7.5 Jun 26

An issue in the parse_month function (/time/strptime.rs) of relibc commit ab6a2e allows attackers to cause a Denial of S

CVE-2026-38641 HIGH POC
7.5 Jun 26

Denial of service in relibc (the Redox OS C standard library) at commit 61f42d allows attackers to crash a process by ge

CVE-2026-38637 HIGH POC
7.5 Jun 25

An issue in the pthread_rwlockattr_setpshared() function of relibc commit 61f42d allows attackers to cause a Denial of S

CVE-2026-38640 HIGH POC
7.5 Jun 25

Denial of service in relibc (the Redox OS C standard library implementation, commit 61f42d) lets attackers crash a proce

Share

EUVD-2026-31476 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy