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 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply crafted TFLite model locally
  2. Delivery
    ArmNN TfLiteParser ingests model
  3. Exploit
    Tensor dimensions overflow 32-bit multiplication in GetNumElements()
  4. Execution
    GetNumBytes() returns understated allocation size
  5. Persist
    BatchToSpaceNdLayer InferOutputShapes() over-reads heap
  6. Impact
    Inference process crashes (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Local attack vector (AV:L) is confirmed by the CVSS vector - the attacker must cause an ArmNN-backed process on the local system to load and optimize a crafted TFLite model. No privileges are required by the CVSS vector (PR:N), meaning the attacker does not need an authenticated session to the host OS, but the model file must be reachable by the target process (e.g., placed in a watched directory, submitted via a local API, or provided as a file path argument). No user interaction is required (UI:N) once the model file is in place - the crash occurs programmatically during Optimize(). The vulnerability is limited to models containing a BatchToSpaceNdLayer whose input tensor dimensions are specifically crafted to overflow 32-bit unsigned multiplication; arbitrary TFLite models will not trigger it. Exploitation is further bounded by the local attack vector: remote unauthenticated exploitation is not possible unless the application exposes a network-accessible model-loading interface that feeds directly into ArmNN without intermediate validation.

Impact

The CVSS 3.1 base score of 6.2 (Medium) reflects a local attack vector (AV:L), low complexity (AC:L), no required privileges (PR:N), no user interaction (UI:N), and availability-only impact (A:H, C:N, I:N). The local attack vector substantially constrains real-world exploitability - the crafted TFLite model must be loaded by an ArmNN-backed process on the target system, which typically requires the attacker to place or supply the model file locally. EPSS of 0.02% (5th percentile) aligns with this assessment: exploitation is not considered likely by the broader security community. SSVC signals reinforce low urgency: exploitation status is 'none,' the attack is not automatable (manual model crafting and delivery required), and technical impact is only 'partial' (DoS, no code execution or data exfiltration path). The vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog. The sole real-world risk scenario is availability disruption in embedded or server-side inference pipelines that accept models from untrusted sources. No conflicting signals between data sources - CVSS, EPSS, and SSVC are coherently aligned on a medium-severity, low-probability-of-exploitation finding.

Exploit ScenarioDerived

An attacker with the ability to supply a TFLite model file to an application backed by ArmNN crafts a model in which a BatchToSpaceNdLayer has tensor dimensions whose product overflows a 32-bit unsigned integer. When the application calls ArmNN's Optimize() on this model, GetNumElements() silently wraps around, GetNumBytes() returns an understated size, the heap buffer is under-allocated, and InferOutputShapes() reads past the allocation boundary, crashing the inference process. No public proof-of-concept code has been identified, but the root cause is mechanically straightforward and the affected code path is publicly readable on GitHub.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 08, 2026

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.

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.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when N A gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 6.2 MEDIUM
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Primary rating from Vendor (mitre) · only source for this CVE.

CVSS VectorVendor: mitre

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +31
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

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

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