Documented Incident · INC-2023-25658 · High severity
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 dossier metadata
- Case ID
INC-2023-25658- Classification
- Incident
- Date
- Severity
- High
- Sector
- Cloud & AI Infrastructure
- Attack vector
- Supply Chain
- System type
- Deep Learning Training & Inference Frameworks
- CVE / reference
CVE-2023-25658- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2023-25658
Defensive takeaway
Keep native C++ ML runtimes patched and enforce strict input tensor shape and rank validation before invoking model kernels.
Mapped AI security techniques
- User Execution: Unsafe AI Artifacts AML.T0011.000
- Denial of AI Service AML.T0029
- Exploit Public-Facing Application AML.T0049
Mapped defensive controls
- Vulnerability Scanning AML.M0016
- Input and Output Validation for AI Agent Components AML.M0033
- Limit AI Workload Resource Consumption AML.M0036
Source citation records
- NVD Record CVE-2023-25658: TensorFlow GRUBlockCellGrad Out-of-Bounds Read · NIST National Vulnerability Database (NVD) ·