{"id":"DEBIAN-CVE-2026-42627","details":"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()-\u003eInferOutputShapes(), the BatchToSpaceNdLayer reads beyond the allocated buffer.","modified":"2026-09-14T17:03:37.366408039Z","published":"2026-05-22T18:16:22.593Z","upstream":["CVE-2026-42627"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-42627"}],"affected":[{"package":{"name":"armnn","ecosystem":"Debian:12","purl":"pkg:deb/debian/armnn?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20.08-12","20.08-13","23.08-2","23.08-3","23.08-4","23.08-4.1","23.08-4.1~exp1","23.08-4.1~exp2","23.08-5","23.08-5.1"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42627.json"}},{"package":{"name":"armnn","ecosystem":"Debian:13","purl":"pkg:deb/debian/armnn?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["23.08-5","23.08-5.1"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42627.json"}},{"package":{"name":"armnn","ecosystem":"Debian:14","purl":"pkg:deb/debian/armnn?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["23.08-5","23.08-5.1"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42627.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}