UBUNTU-CVE-2026-42627

Source
https://ubuntu.com/security/CVE-2026-42627
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42627.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-42627
Upstream
  • CVE-2026-42627
Published
2026-05-22T18:16:00Z
Modified
2026-05-27T19:15:22Z
Severity
  • 6.2 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:22.04:LTS / armnn

Package

Name
armnn
Purl
pkg:deb/ubuntu/armnn?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

20.*
20.08-9
20.08-10
20.08-10build1

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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42627.json"

Ubuntu:24.04:LTS / armnn

Package

Name
armnn
Purl
pkg:deb/ubuntu/armnn?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

23.*
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-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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42627.json"

Ubuntu:25.10 / armnn

Package

Name
armnn
Purl
pkg:deb/ubuntu/armnn?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

23.*
23.08-5

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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42627.json"