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

Inspect in Interactive Incidents Hub

Defensive lesson

Keep native C++ ML runtimes patched and enforce strict input tensor shape and rank validation before invoking model kernels.

Referenced techniques