PYSEC-2026-3142: TensorFlow vulnerable to Out-of-Bounds Read in DynamicStitch
TensorFlow is an open source platform for machine learning. Prior to versions 2.12.0 and 2.11.1, if the parameter indices for DynamicStitch does not match the shape of the parameter data, it can trigger an stack OOB read. A fix is included in TensorFlow version 2.12.0 and version 2.11.1.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
TensorFlowto a version that resolves this vulnerability.Fixed in 2.12.0 - Upgrade
Upgrade
TensorFlowto a version that resolves this vulnerability.Fixed in 2.11.1
Event History
Frequently Asked Questions
Which TensorFlow versions should be remediated?
Update to TensorFlow 2.12.0 or 2.11.1, which include the fix. Versions prior to 2.12.0 and 2.11.1 are affected.
What input is required to trigger the issue?
The DynamicStitch operation must receive an indices parameter whose shape does not match the shape of the data parameter. This mismatch can trigger a stack out-of-bounds read.
Can this be exploited remotely without credentials or user interaction?
The supplied severity vector indicates network attack access, low attack complexity, no required privileges, and no user interaction. The stated impact is availability only, with high availability impact.