CVE-2023-25658
published 2023-03-25CVE-2023-25658: TensorFlow is an open source platform for machine learning. Prior to versions 2.12.0 and 2.11.1, an out of bounds read is in GRUBlockCellGrad. A fix is…
PriorityP336high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
0.38%
30.6th percentile
TensorFlow is an open source platform for machine learning. Prior to versions 2.12.0 and 2.11.1, an out of bounds read is in GRUBlockCellGrad. A fix is included in TensorFlow 2.12.0 and 2.11.1.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | tensorflow | — | — |
| tensorflow | < 2.12.0 | 2.12.0 | |
| intel | optimization_for_tensorflow | >= 0 < 2.11.1 | 2.11.1 |
| msrc | azl3_tensorflow_2.11.1-1_on_azure_linux_3.0 | — | — |
| msrc | azure_linux_3.0_arm | — | — |
| msrc | azure_linux_3.0_x64 | — | — |
| msrc | cbl2_tensorflow_2.11.1-1_on_cbl_mariner_2.0 | — | — |
| tensorflow | tensorflow | < 2.11.1 | 2.11.1 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vendor_debian7.5LOW
vendor_msrc7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
TensorFlow vulnerable to Out-of-Bounds Read in GRUBlockCellGrad
ghsa·2023-03-24
CVE-2023-25658 [HIGH] CWE-125 TensorFlow vulnerable to Out-of-Bounds Read in GRUBlockCellGrad
TensorFlow vulnerable to Out-of-Bounds Read in GRUBlockCellGrad
### Impact
Out of bounds read in GRUBlockCellGrad
```python
func = tf.raw_ops.GRUBlockCellGrad
para = {'x': [[21.1, 156.2], [83.3, 115.4]], 'h_prev': array([[136.5],
[136.6]]), 'w_ru': array([[26.7, 0.8],
[47.9, 26.1],
[26.2, 26.3]]), 'w_c': array([[ 0.4],
[31.5],
[ 0.6]]), 'b_ru': array([0.1, 0.2 ], dtype=float32), 'b_c': 0x41414141, 'r': array([[0.3],
[0.4]], dtype=float32), 'u': array([[5.7],
[5.8]]), 'c': array([[52.9],
[53.1]]), 'd_h': array([[172.2],
[188.3 ]])}
```
### Patches
We have patched the issue in GitHub commit [ff459137c2716a2a60f7d441b855fcb466d778cb](https://github.com/tensorflow/tensorflow/commit/ff459137c2716a2a60f7d441b855fcb466d778cb).
The fix will be included in TensorFlow 2.12.0. We will also cherry
OSV
TensorFlow vulnerable to Out-of-Bounds Read in GRUBlockCellGrad
osv·2023-03-24
CVE-2023-25658 [HIGH] TensorFlow vulnerable to Out-of-Bounds Read in GRUBlockCellGrad
TensorFlow vulnerable to Out-of-Bounds Read in GRUBlockCellGrad
### Impact
Out of bounds read in GRUBlockCellGrad
```python
func = tf.raw_ops.GRUBlockCellGrad
para = {'x': [[21.1, 156.2], [83.3, 115.4]], 'h_prev': array([[136.5],
[136.6]]), 'w_ru': array([[26.7, 0.8],
[47.9, 26.1],
[26.2, 26.3]]), 'w_c': array([[ 0.4],
[31.5],
[ 0.6]]), 'b_ru': array([0.1, 0.2 ], dtype=float32), 'b_c': 0x41414141, 'r': array([[0.3],
[0.4]], dtype=float32), 'u': array([[5.7],
[5.8]]), 'c': array([[52.9],
[53.1]]), 'd_h': array([[172.2],
[188.3 ]])}
```
### Patches
We have patched the issue in GitHub commit [ff459137c2716a2a60f7d441b855fcb466d778cb](https://github.com/tensorflow/tensorflow/commit/ff459137c2716a2a60f7d441b855fcb466d778cb).
The fix will be included in TensorFlow 2.12.0. We will also cherry
Microsoft
TensorFlow vulnerable to Out-of-Bounds Read in GRUBlockCellGrad
vendor_msrc·2023-03-14·CVSS 7.5
CVE-2023-25658 [HIGH] CWE-125 TensorFlow vulnerable to Out-of-Bounds Read in GRUBlockCellGrad
TensorFlow vulnerable to Out-of-Bounds Read in GRUBlockCellGrad
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
GitHub_M: GitHub_M
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference:
Debian
CVE-2023-25658: tensorflow - TensorFlow is an open source platform for machine learning. Prior to versions 2....
vendor_debian·2023·CVSS 7.5
CVE-2023-25658 [HIGH] CVE-2023-25658: tensorflow - TensorFlow is an open source platform for machine learning. Prior to versions 2....
TensorFlow is an open source platform for machine learning. Prior to versions 2.12.0 and 2.11.1, an out of bounds read is in GRUBlockCellGrad. A fix is included in TensorFlow 2.12.0 and 2.11.1.
Scope: local
forky: resolved
sid: resolved
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/tensorflow/tensorflow/commit/ff459137c2716a2a60f7d441b855fcb466d778cbhttps://github.com/tensorflow/tensorflow/security/advisories/GHSA-68v3-g9cm-rmm6https://github.com/tensorflow/tensorflow/commit/ff459137c2716a2a60f7d441b855fcb466d778cbhttps://github.com/tensorflow/tensorflow/security/advisories/GHSA-68v3-g9cm-rmm6
2023-03-25
Published