CVE-2022-23558
published high CVSS 3.1 · 7.6Integer overflow in TFLite array creation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| tensorflow | — | tensorflow>= 2.7.0, < 2.7.1 · >= 2.6.0, < 2.6.3 · < 2.5.3 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | tensorflow-liteaarch64 | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2024:12116-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tensorflow-liteppc64le | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2024:12116-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tensorflow-lites390x | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2024:12116-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tensorflow-litex86_64 | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2024:12116-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tensorflow-lite-develaarch64 | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2024:12116-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tensorflow-lite-develppc64le | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2024:12116-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tensorflow-lite-devels390x | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2024:12116-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | tensorflow-lite-develx86_64 | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2024:12116-1 |
Description
Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would cause an integer overflow in `TfLiteIntArrayCreate`. The `TfLiteIntArrayGetSizeInBytes` returns an `int` instead of a `size_t. An attacker can control model inputs such that `computed_size` overflows the size of `int` datatype. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| tensorflow | tensorflow | >= 2.7.0, < 2.7.1 (affected)>= 2.6.0, < 2.6.3 (affected)< 2.5.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-190 CWE-190: Integer Overflow or Wraparound
References
4- https://github.com/tensorflow/tensorflow/blob/ca6f96b62ad84207fbec580404eaa7dd7403a550/tensorflow/lite/c/common.c#L24-L33
- https://github.com/tensorflow/tensorflow/blob/ca6f96b62ad84207fbec580404eaa7dd7403a550/tensorflow/lite/c/common.c#L53-L60
- https://github.com/tensorflow/tensorflow/commit/a1e1511dde36b3f8aa27a6ec630838e7ea40e091
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-9gwq-6cwj-47h3
Provider assertions
3GitHub_M · cna
Integer overflow in TFLite array creation
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 03c41fcaba6218c42d6ac3920cd2e8bee94295dd1f5e98e3998d157accc5ab62
- Ingested
- 23 Sep 2026, 07:58:41 UTC
- Source record
- Official CVE record