Security mailing lists by PureSourceCode

CVE-2022-21726

HIGH 8.8CVSS 3.1

Out of bounds read in Tensorflow

Tensorflow is an Open Source Machine Learning Framework. The implementation of Dequantize does not fully validate the value of axis and can result in heap OOB accesses. The axis argument can be -1 (the default value for the optional argument) or any other positive value at most the number of dimensions of the input. Unfortunately, the upper bound is not checked and this results in reading past the end of the array containing the dimensions of the input tensor. 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.

Published
3 Feb 2022
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-125
Also known as
BIT-tensorflow-2022-21726GHSA-23hm-7w47-xw72PYSEC-2022-105PYSEC-2022-50PYSEC-2026-3082
Sources
NVDJSONOSV GHSA-23hm-7w47-xw72JSONOSV PYSEC-2022-105JSONOSV PYSEC-2022-50JSONOSV PYSEC-2026-3082JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
OSV PyPA CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
OSV PyPA CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD google tensorflow
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
<= 2.5.2
NVD google tensorflow
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
>= 2.6.0, <= 2.6.2
NVD google tensorflow
cpe:2.3:a:google:tensorflow:2.7.0:*:*:*:*:*:*:*
= 2.7.0
OSV PyPI tensorflow < 2.5.3 2.5.3
OSV PyPI tensorflow >= 2.6.0, < 2.6.3 2.6.3
OSV PyPI tensorflow >= 2.7.0, < 2.7.1 2.7.1
OSV PyPI tensorflow-cpu < 2.5.3 2.5.3
OSV PyPI tensorflow-cpu >= 2.6.0, < 2.6.3 2.6.3
OSV PyPI tensorflow-cpu >= 2.7.0, < 2.7.1 2.7.1
OSV PyPI tensorflow-gpu < 2.5.3 2.5.3
OSV PyPI tensorflow-gpu >= 2.6.0, < 2.6.3 2.6.3
OSV PyPI tensorflow-gpu >= 2.7.0, < 2.7.1 2.7.1
OSV PyPI tensorflow-gpu < 2.5.3; >= 2.6.0, < 2.6.3 2.5.3, 2.6.3
OSV PyPI tensorflow-cpu < 2.5.3; >= 2.6.0, < 2.6.3 2.5.3, 2.6.3
OSV PyPI tensorflow < 2.5.3; >= 2.6.0, < 2.6.3; >= 2.7.0, < 2.7.1 2.5.3, 2.6.3, 2.7.1

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 3 Feb 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Feb 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Feb 2022)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Feb 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.