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 Arm ArmNN through 2026-03-27 involves an integer overflow in the TensorShape::GetNumElements() function in armnn/Tensor.cpp. The overflow happens because tensor dimension multiplication uses 32-bit unsigned arithmetic without checking for overflow, causing the GetNumBytes() function to return a smaller-than-actual allocation size. Consequently, during the Optimize()->InferOutputShapes() process, the BatchToSpaceNdLayer reads beyond the allocated buffer, resulting in a heap-based buffer over-read. This can be triggered by a specially crafted TFLite model file that exploits the flawed size validation.
Potential Impact
This vulnerability can lead to a heap-based buffer over-read, which may cause application crashes or potentially expose sensitive memory contents. There is no information about known exploits in the wild. The impact is limited to the affected versions of Arm ArmNN prior to 2026-03-27. No CVSS score is provided, and no vendor advisory or patch information is available to confirm remediation status.
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 affected versions of Arm ArmNN. Monitor vendor channels for updates and apply patches once released.
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Arm ArmNN through 2026-03-27 involves an integer overflow in the TensorShape::GetNumElements() function in armnn/Tensor.cpp. The overflow happens because tensor dimension multiplication uses 32-bit unsigned arithmetic without checking for overflow, causing the GetNumBytes() function to return a smaller-than-actual allocation size. Consequently, during the Optimize()->InferOutputShapes() process, the BatchToSpaceNdLayer reads beyond the allocated buffer, resulting in a heap-based buffer over-read. This can be triggered by a specially crafted TFLite model file that exploits the flawed size validation.
Potential Impact
This vulnerability can lead to a heap-based buffer over-read, which may cause application crashes or potentially expose sensitive memory contents. There is no information about known exploits in the wild. The impact is limited to the affected versions of Arm ArmNN prior to 2026-03-27. No CVSS score is provided, and no vendor advisory or patch information is available to confirm remediation status.
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 affected versions of Arm ArmNN. Monitor vendor channels for updates and apply patches once released.
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: 5/22/2026, 5:59:48 PM
Last enriched: 5/22/2026, 6:14:58 PM
Last updated: 5/23/2026, 7:37:18 AM
Views: 9
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.