Skip to main content
Network Thinking Solutions Logo

CVE-2022-35937

OOB read in Gather_nd op in TensorFlow Lite

All CVEs
CVE-2022-35937Published 9/16/2022

OOB read in Gather_nd op in TensorFlow Lite

Vendor advisory
CVSS9.1Critical

Overview

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 is triggered. This issue has been patched in GitHub commit 595a65a3e224a0362d7e68c2213acfc2b499a196. 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
9/16/2022
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
tensorflow
google
≥ 2.7.0, < 2.7.2

Verify advisory

Source
tensorflow
google
≥ 2.8.0, < 2.8.1

Verify advisory

Source
tensorflow
google
≥ 2.9.0, < 2.9.1

Verify advisory

Source
tensorflow
google
2.10

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
tensorflow
tensorflow
< 2.7.2

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
tensorflow
tensorflow
>= 2.8.0, < 2.8.1

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
tensorflow
tensorflow
>= 2.9.0, < 2.9.1

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 9.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.