ubuntu-cve-2026-42627
Vulnerability from osv_ubuntu
Published
2026-05-22 18:16
Modified
2026-05-27 19:09
Summary
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()->InferOutputShapes(), the BatchToSpaceNdLayer reads beyond the allocated buffer.
Severity
6.2 (Medium)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libarmnn-cpuacc-backend22",
"binary_version": "20.08-10build1"
},
{
"binary_name": "libarmnn-cpuref-backend22",
"binary_version": "20.08-10build1"
},
{
"binary_name": "libarmnn-gpuacc-backend22",
"binary_version": "20.08-10build1"
},
{
"binary_name": "libarmnn22",
"binary_version": "20.08-10build1"
},
{
"binary_name": "libarmnnaclcommon22",
"binary_version": "20.08-10build1"
},
{
"binary_name": "libarmnntfliteparser22",
"binary_version": "20.08-10build1"
},
{
"binary_name": "python3-pyarmnn",
"binary_version": "20.08-10build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "armnn",
"purl": "pkg:deb/ubuntu/armnn@20.08-10build1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"20.08-9",
"20.08-10",
"20.08-10build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "armnn-latest-all",
"binary_version": "23.08-4.1build1"
},
{
"binary_name": "armnn-latest-cpu",
"binary_version": "23.08-4.1build1"
},
{
"binary_name": "armnn-latest-cpu-gpu",
"binary_version": "23.08-4.1build1"
},
{
"binary_name": "armnn-latest-cpu-gpu-ref",
"binary_version": "23.08-4.1build1"
},
{
"binary_name": "armnn-latest-gpu",
"binary_version": "23.08-4.1build1"
},
{
"binary_name": "armnn-latest-ref",
"binary_version": "23.08-4.1build1"
},
{
"binary_name": "libarmnn-cpuacc-backend33",
"binary_version": "23.08-4.1build1"
},
{
"binary_name": "libarmnn-cpuref-backend33",
"binary_version": "23.08-4.1build1"
},
{
"binary_name": "libarmnn-gpuacc-backend33",
"binary_version": "23.08-4.1build1"
},
{
"binary_name": "libarmnn33t64",
"binary_version": "23.08-4.1build1"
},
{
"binary_name": "libarmnnaclcommon33t64",
"binary_version": "23.08-4.1build1"
},
{
"binary_name": "libarmnntfliteparser24t64",
"binary_version": "23.08-4.1build1"
},
{
"binary_name": "python3-pyarmnn",
"binary_version": "23.08-4.1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "armnn",
"purl": "pkg:deb/ubuntu/armnn@23.08-4.1build1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"23.08-3",
"23.08-4",
"23.08-4build1",
"23.08-4.1",
"23.08-4.1build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "armnn-latest-all",
"binary_version": "23.08-5"
},
{
"binary_name": "armnn-latest-cpu",
"binary_version": "23.08-5"
},
{
"binary_name": "armnn-latest-cpu-gpu",
"binary_version": "23.08-5"
},
{
"binary_name": "armnn-latest-cpu-gpu-ref",
"binary_version": "23.08-5"
},
{
"binary_name": "armnn-latest-gpu",
"binary_version": "23.08-5"
},
{
"binary_name": "armnn-latest-ref",
"binary_version": "23.08-5"
},
{
"binary_name": "libarmnn-cpuacc-backend33",
"binary_version": "23.08-5"
},
{
"binary_name": "libarmnn-cpuref-backend33",
"binary_version": "23.08-5"
},
{
"binary_name": "libarmnn-gpuacc-backend33",
"binary_version": "23.08-5"
},
{
"binary_name": "libarmnn33t64",
"binary_version": "23.08-5"
},
{
"binary_name": "libarmnnaclcommon33t64",
"binary_version": "23.08-5"
},
{
"binary_name": "libarmnntfliteparser24t64",
"binary_version": "23.08-5"
},
{
"binary_name": "python3-pyarmnn",
"binary_version": "23.08-5"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "armnn",
"purl": "pkg:deb/ubuntu/armnn@23.08-5?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"23.08-5"
]
}
],
"aliases": [],
"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.",
"id": "UBUNTU-CVE-2026-42627",
"modified": "2026-05-27T19:09:51Z",
"published": "2026-05-22T18:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-42627"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-42627"
},
{
"type": "REPORT",
"url": "https://github.com/ARM-software/armnn/blob/main/src/armnn/Tensor.cpp"
},
{
"type": "REPORT",
"url": "https://github.com/ARM-software/armnn/blob/main/src/armnnTfLiteParser/TfLiteParser.cpp"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-42627"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…