CVE-2021-29552
CVE-2021-29552 — CHECK-failure in `UnsortedSegmentJoin`
TensorFlow is an end-to-end open source platform for machine learning. An attacker can cause a denial of service by controlling the values of `num_segments` tensor argument for `UnsortedSegmentJoin`. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/a2a607db15c7cd01d754d37e5448d72a13491bdb/tensorflow/core/kernels/unsorted_segment_join_op.cc#L92-L93) assumes that the `num_segments` tensor is a valid scalar. Since the tensor is empty the `CHECK` involved in `.scalar<T>()()` that checks that the number of elements is exactly 1 will be invalidated and this would result in process termination. 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-617
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/a2a607db15c7cd01d754d37e5448d72a13491bdb/tensorflow/core/kernels/unsorted_segment_join_op.cc#L92-L93).
References
2 on the record
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2015-5477 ISC BIND Data Processing Errors VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2026-103099 Pexip Infinity before 41.1 is affected by improper input validation in the media implementation that allows a remote attacker to trigger a…CVSS 7.5
- CVE-2026-95622 ModemManager: Reachable assertion in Cell Broadcast encoding parse causes denial of serviceCVSS 6.5
- CVE-2026-84971 Persistent client crash loop via undersized FLE2 insert-update ciphertext in decryption pathCVSS 6.5
- CVE-2025-15684 Open5GS CER init.c diam_log_func assertionCVSS 5.3
- CVE-2026-20600 In Modem, there is a possible application crash due to a logic errorCVSS n/a
Elsewhere on this site
- Tensorflowevery CVE for this vendor
- CWE-617other 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.