CVE-2021-29581
CVE-2021-29581 — Segfault in `CTCBeamSearchDecoder`
TensorFlow is an end-to-end open source platform for machine learning. Due to lack of validation in `tf.raw_ops.CTCBeamSearchDecoder`, an attacker can trigger denial of service via segmentation faults. The implementation(https://github.com/tensorflow/tensorflow/blob/a74768f8e4efbda4def9f16ee7e13cf3922ac5f7/tensorflow/core/kernels/ctc_decoder_ops.cc#L68-L79) fails to detect cases when the input tensor is empty and proceeds to read data from a null buffer. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
2.5
LOW
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 2.5 | CVSS 3.1 | LOW | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-908
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching //github.com/tensorflow/tensorflow/blob/a74768f8e4efbda4def9f16ee7e13cf3922ac5f7/tensorflow/core/kernels/ctc_decoder_ops.cc#L68-L79).
References
2 on the record
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-85880 Windows Advanced Local Procedure Call (ALPC) Elevation of Privilege VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2025-5777 NetScaler ADC and NetScaler Gateway - Insufficient input validation leading to memory overreadCVSS 7.5 · CISA KEV
- CVE-2024-50302 Linux Kernel Use of Uninitialized Resource VulnerabilityCVSS 5.5 · CISA KEV
- CVE-2024-29745 Android Pixel Information Disclosure VulnerabilityCVSS 5.5 · CISA KEV
- CVE-2026-15353 SOAP information disclosure through malformed array dimensionsCVSS 6.3
- CVE-2026-19809 Kernel stack information disclosure in the charger_get_prop() system call handlerCVSS 3.3
Elsewhere on this site
- Tensorflowevery CVE for this vendor
- CWE-908other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.