Incident report
TensorFlow GRUBlockCellGrad Out-of-Bounds Memory Read Vulnerability
CVE-2023-25658 (published March 25, 2023) documented an out-of-bounds memory read inside TensorFlow's `GRUBlockCellGrad` C++ kernel prior to versions 2.11.1 and 2.12.0. Supplying mismatched or malformed tensor dimension inputs to the gradient operator caused memory corruption, process crashes, or potential adjacent-memory disclosure in shared inference/training services. Alongside a wider wave of TensorFlow tensor-shape memory bugs, the vulnerability highlighted native C++ runtime risks when executing untrusted model graphs or user-shaped inputs. Upgrading to patched TensorFlow releases and validating tensor shapes at API boundaries mitigated the flaw.
Incident record
- Reported
- Severity
- High
- Vector
- Supply Chain
- Affected system type
- Deep Learning Training & Inference Frameworks
- Reference
CVE-2023-25658- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2023-25658
Defensive lesson
Keep native C++ ML runtimes patched and enforce strict input tensor shape and rank validation before invoking model kernels.
Referenced techniques
- User Execution: Unsafe AI Artifacts AML.T0011.000
- Denial of AI Service AML.T0029
- Exploit Public-Facing Application AML.T0049