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

Inspect INC-2023-25658 in Interactive Incidents & Cases Hub

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

Mapped defensive controls

Source citation records