CVE-2022-41902

Out of bounds write in grappler in Tensorflow

State
Published
Severity
7.1 High
Published
Dec 6, 2022
Updated
Apr 23, 2025
Reserved
Sep 30, 2022

Read the record on cve.org

Description

TensorFlow is an open source platform for machine learning. The function MakeGrapplerFunctionItem takes arguments that determine the sizes of inputs and outputs. If the inputs given are greater than or equal to the sizes of the outputs, an out-of-bounds memory read or a crash is triggered. We have patched the issue in GitHub commit a65411a1d69edfb16b25907ffb8f73556ce36bb7. The fix will be included in TensorFlow 2.11.0. We will also cherrypick this commit on TensorFlow 2.8.4, 2.9.3, and 2.10.1.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:HGitHub_M

Weaknesses

Affected Products

ProductVersions
tensorflowtensorflow
  • >= 2.10.0, < 2.10.1Affected
  • >= 2.9.0, < 2.9.3Affected
  • < 2.8.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.