Skip to content
OpenAdvisories
Critical · 9.8 CVE-2023-25668 BIT-tensorflow-2023-25668EUVD-2023-1018GHSA-gw97-ff7c-9v96PYSEC-2026-548PYSEC-2026-549PYSEC-2026-550

TensorFlow vulnerable to heap out-of-buffer read in the QuantizeAndDequantize operation

Published Mar 24, 2023 · Updated Feb 19, 2025 · Assigned by GitHub_M

Description

TensorFlow is an open source platform for machine learning. Attackers using Tensorflow prior to 2.12.0 or 2.11.1 can access heap memory which is not in the control of user, leading to a crash or remote code execution. The fix will be included in TensorFlow version 2.12.0 and will also cherrypick this commit on TensorFlow version 2.11.1.

Affected products

VendorProductAffectedFixed
tensorflow tensorflow < 2.11.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 tensorflow 2.11.1-1 —
Azure Linux 2 (CBL-Mariner) tensorflow 2.11.1-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI tensorflow < 2.11.1 2.11.1 GHSA-gw97-ff7c-9v96
PyPI tensorflow-cpu < 2.11.1 2.11.1 GHSA-gw97-ff7c-9v96
PyPI tensorflow-gpu < 2.11.1 2.11.1 GHSA-gw97-ff7c-9v96

References