TensorFlow is an open source platform for machine learning. The `GatherNd` function takes arguments that determine the sizes of inputs and outputs. If the inputs given are greater than or equal to the sizes of the outputs, an out-of-bounds memory read or a crash is triggered. This issue has been patched in GitHub commit 4142e47e9e31db481781b955ed3ff807a781b494. 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.
Conclusion & alert: CVE-2022-35938 is rated Moderate Risk (40.2/100): CVSS High severity, with low exploitation likelihood (EPSS 0.43%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.12% | 0.43% | +0.31% |
| 2 | 2025-12-02 | 0.20% | 0.12% | -0.08% |
| 3 | 2025-11-21 | — | 0.20% | — |
Full EPSS history (10 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.0 | 3.1 | HIGH |
|
2.2 | 4.7 | [email protected] |
| 9.1 | 3.1 | CRITICAL |
|
3.9 | 5.2 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2022-35938 unimportant priority: Debian including 1 source packages (tensorflow), 2 status rows across 2 suites (forky, sid): resolved 2. | https://security-tracker.debian.org/tracker/CVE-2022-35938 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| tensorflow | >= 2.7.0, < 2.7.2 | cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* | |
| tensorflow | >= 2.8.0, < 2.8.1 | cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* | |
| tensorflow | >= 2.9.0, < 2.9.1 | cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* | |
| tensorflow | 2.10 | cpe:2.3:a:google:tensorflow:2.10:rc0:*:*:*:*:*:* | |
| tensorflow | 2.10 | cpe:2.3:a:google:tensorflow:2.10:rc1:*:*:*:*:*:* | |
| tensorflow | 2.10 | cpe:2.3:a:google:tensorflow:2.10:rc2:*:*:*:*:*:* | |
| tensorflow | 2.10 | cpe:2.3:a:google:tensorflow:2.10:rc3:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/tensorflow/tensorflow/security/advisories/GHSA-3m3g-pf5v-5hpj | Patch Third Party Advisory |
| https://github.com/tensorflow/tflite-micro/blob/1bc98621180a350eb4e8d3318ea8e228c7559b37/tensorflow/lite/micro/kernels/gather_nd.cc#L143-L154 | Third Party Advisory |
| https://github.com/tensorflow/tflite-micro/commit/4142e47e9e31db481781b955ed3ff807a781b494 | Patch Third Party Advisory |