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

Tue, 26 May 2026 18:15:00 +0000

Type Values Removed Values Added
Title Integer Overflow in ArmNN Tensor Shape Causes Buffer Over‑read

Tue, 26 May 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190
Metrics cvssV3_1

{'score': 6.2, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 25 May 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Arm
Arm armnn
Vendors & Products Arm
Arm armnn

Fri, 22 May 2026 19:45:00 +0000

Type Values Removed Values Added
Title Integer Overflow in ArmNN Tensor Shape Causes Buffer Over‑read
Weaknesses CWE-126
CWE-680

Fri, 22 May 2026 18:00:00 +0000

Type Values Removed Values Added
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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2026-05-22T00:00:00.000Z

Updated: 2026-05-26T15:16:51.610Z

Reserved: 2026-04-29T00:00:00.000Z

Link: CVE-2026-42627

cve-icon Vulnrichment

Updated: 2026-05-26T15:16:48.765Z

cve-icon NVD

Status : Deferred

Published: 2026-05-22T18:16:22.593

Modified: 2026-05-26T16:16:24.957

Link: CVE-2026-42627

cve-icon Redhat

No data.