CVE-2026-42627: n/a
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.
AI Analysis
Technical Summary
The vulnerability in ArmNN involves an integer overflow in the TensorShape::GetNumElements() function, which calculates the number of elements in a tensor by multiplying its dimensions using 32-bit unsigned arithmetic without checking for overflow. This can cause the function GetNumBytes() to return a smaller-than-actual allocation size. Consequently, during model optimization, specifically in the BatchToSpaceNdLayer within Optimize()->InferOutputShapes(), a heap-based buffer over-read can occur because the code reads beyond the allocated memory buffer. This vulnerability affects ArmNN versions up to 2026-03-27 and can be triggered by a specially crafted TensorFlow Lite (TFLite) model file. The CVSS 3.1 vector indicates the attack requires local access with low complexity and no privileges or user interaction, impacting availability but not confidentiality or integrity.
Potential Impact
An attacker with local access can supply a malicious TFLite model file that triggers an integer overflow in tensor dimension calculations, causing a heap-based buffer over-read during model optimization. This can lead to application crashes or denial of service due to memory corruption. There is no indication of confidentiality or integrity impact. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing untrusted or malformed TFLite model files with vulnerable versions of ArmNN. Monitor vendor communications for updates and patches addressing this issue.
CVE-2026-42627: n/a
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.
CVSS v3.1
Score 6.2medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in ArmNN involves an integer overflow in the TensorShape::GetNumElements() function, which calculates the number of elements in a tensor by multiplying its dimensions using 32-bit unsigned arithmetic without checking for overflow. This can cause the function GetNumBytes() to return a smaller-than-actual allocation size. Consequently, during model optimization, specifically in the BatchToSpaceNdLayer within Optimize()->InferOutputShapes(), a heap-based buffer over-read can occur because the code reads beyond the allocated memory buffer. This vulnerability affects ArmNN versions up to 2026-03-27 and can be triggered by a specially crafted TensorFlow Lite (TFLite) model file. The CVSS 3.1 vector indicates the attack requires local access with low complexity and no privileges or user interaction, impacting availability but not confidentiality or integrity.
Potential Impact
An attacker with local access can supply a malicious TFLite model file that triggers an integer overflow in tensor dimension calculations, causing a heap-based buffer over-read during model optimization. This can lead to application crashes or denial of service due to memory corruption. There is no indication of confidentiality or integrity impact. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing untrusted or malformed TFLite model files with vulnerable versions of ArmNN. Monitor vendor communications for updates and patches addressing this issue.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-04-29T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a109994e1370fbb482dd15f
Added to database: 05/22/2026, 17:59:48 UTC
Last enriched: 05/29/2026, 20:38:04 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 71
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.