CVE-2022-35940
CVE-2022-35940 — Int overflow in `RaggedRangeOp` in Tensoflow
TensorFlow is an open source platform for machine learning. The `RaggedRangOp` function takes an argument `limits` that is eventually used to construct a `TensorShape` as an `int64`. If `limits` is a very large float, it can overflow when converted to an `int64`. This triggers an `InvalidArgument` but also throws an abort signal that crashes the program. We have patched the issue in GitHub commit 37cefa91bee4eace55715eeef43720b958a01192. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue.
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
5.9
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
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 |
|---|---|---|---|---|---|
| 5.9 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-190
References
3 on the record
- github.com/tensorflow/tensorflow/security/advisories/GHSA-x989-q2pq-4q5x
x_refsource_CONFIRM
- github.com/tensorflow/tensorflow/commit/37cefa91bee4eace55715eeef43720b958a01192
x_refsource_MISC
- github.com/tensorflow/tensorflow/blob/0b6b491d21d6a4eb5fbab1cca565bc1e94ca9543/tensorflow/core/kernels/ragged_range_op.cc#L74-L88
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-97229 Integer Overflow or Wraparound in GitLabCVSS 10.0 · CISA KEV
- CVE-2013-2729 Adobe Reader and Acrobat Arbitrary Integer Overflow VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2023-6345 Google Skia Integer Overflow VulnerabilityCVSS 9.6 · CISA KEV
- CVE-2023-2136 Google Chrome Skia Integer Overflow VulnerabilityCVSS 9.6 · CISA KEV
- CVE-2021-30663 Apple Multiple Products WebKit Integer Overflow VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2018-6065 Google Chromium V8 Integer Overflow VulnerabilityCVSS 8.8 · CISA KEV
Elsewhere on this site
- Tensorflowevery CVE for this vendor
- CWE-190other 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.