Loading advisory.
Loading advisory.
Undefined behavior when users supply invalid resource handles
Multiple TensorFlow operations misbehave in eager mode when the resource handle provided to them is invalid:
Published 2022-05-20 22:10 UTC · Modified 2026-07-13 16:43 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| tensorflow | PyPI | < 2.6.4 >= 2.7.0, < 2.7.2 >= 2.8.0, < 2.8.1 versions 0.12.0, 0.12.1, 1.0.0, 1.0.1, 1.1.0, 1.10.0, 1.10.1, 1.11.0, 1.12.0, 1.12.2, 1.12.3, 1.13.1, 1.13.2, 1.14.0, 1.15.0, 1.15.2, 1.15.3, 1.15.4, 1.15.5, 1.2.0 and 49 more | 2.6.4, 2.7.2, 2.8.1 | pip install --upgrade 'tensorflow>=2.6.4'pip install --upgrade 'tensorflow>=2.7.2'pip install --upgrade 'tensorflow>=2.8.1' |
| tensorflow-cpu | PyPI | < 2.6.4 >= 2.7.0, < 2.7.2 >= 2.8.0, < 2.8.1 versions 1.15.0, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4 and 11 more | 2.6.4, 2.7.2, 2.8.1 | pip install --upgrade 'tensorflow-cpu>=2.6.4'pip install --upgrade 'tensorflow-cpu>=2.7.2'pip install --upgrade 'tensorflow-cpu>=2.8.1' |
| tensorflow-gpu | PyPI | < 2.6.4 >= 2.7.0, < 2.7.2 >= 2.8.0, < 2.8.1 versions 0.12.0, 0.12.1, 1.0.0, 1.0.1, 1.1.0, 1.10.0, 1.10.1, 1.11.0, 1.12.0, 1.12.2, 1.12.3, 1.13.1, 1.13.2, 1.14.0, 1.15.0, 1.15.2, 1.15.3, 1.15.4, 1.15.5, 1.2.0 and 46 more | 2.6.4, 2.7.2, 2.8.1 | pip install --upgrade 'tensorflow-gpu>=2.6.4'pip install --upgrade 'tensorflow-gpu>=2.7.2'pip install --upgrade 'tensorflow-gpu>=2.8.1' |
Multiple TensorFlow operations misbehave in eager mode when the resource handle provided to them is invalid:
import tensorflow as tf
tf.raw_ops.QueueIsClosedV2(handle=[])import tensorflow as tf
tf.summary.flush(writer=())In graph mode, it would have been impossible to perform these API calls, but migration to TF 2.x eager mode opened up this vulnerability. If the resource handle is empty, then a reference is bound to a null pointer inside TensorFlow codebase (various codepaths). This is undefined behavior.
We have patched the issue in GitHub commit a5b89cd68c02329d793356bda85d079e9e69b4e7 and GitHub commit dbdd98c37bc25249e8f288bd30d01e118a7b4498.
The fix will be included in TensorFlow 2.9.0. We will also cherrypick this commit on TensorFlow 2.8.1, TensorFlow 2.7.2, and TensorFlow 2.6.4, as these are also affected and still in supported range.
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
This vulnerability has been reported by Hong Jin from Singapore Management University.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.003 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.003 | first score | v2026.06.15 |