Out-of-bounds read in TensorFlow - CVE-2021-29581
Published: May 13, 2021 / Updated: May 4, 2026
TensorFlow
TensorFlow
Description
The vulnerability allows a local user to cause a denial of service.
The vulnerability exists due to an out-of-bounds read in tf.raw_ops.CTCBeamSearchDecoder when processing an empty input tensor. A local user can supply a crafted input tensor and sequence_length values to cause a denial of service.
The issue occurs because the implementation fails to detect empty input tensors and proceeds to read data from a null buffer.