HighVulnerability
CVE-2022-35938: TensorFlow GatherNd out-of-bounds memory read on mismatched input sizes
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2022-35938
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.6%
Summary
TensorFlow's `GatherNd` function does not properly check input sizes against output sizes. When inputs are greater than or equal to the outputs, it triggers an out-of-bounds memory read or a crash. The flaw is tracked as CVE-2022-35938.
Mitigation
Patched in GitHub commit 4142e47e9e31db481781b955ed3ff807a781b494. The fix is included in TensorFlow 2.10.0 and cherry-picked to TensorFlow 2.9.1, 2.8.1 and 2.7.2. No known workarounds exist.
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online