CVE-2022-35941

`CHECK` failure in `AvgPoolOp` in Tensorflow

HIGH
7.5
CVSS Score
Published: September 16, 2022 at 07:45 PM UTC
Updated: June 17, 2026 at 04:52 AM UTC
2 products affected across 2 vendorsTensorflowTensorFlow

Using tensorflow by tensorflow?

Get instant alerts when new vulnerabilities affect tensorflow - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.7%
SSVC
No known exploit

Description

TensorFlow is an open source platform for machine learning. The `AvgPoolOp` function takes an argument `ksize` that must be positive but is not checked. A negative `ksize` can trigger a `CHECK` failure and crash the program. We have patched the issue in GitHub commit 3a6ac52664c6c095aa2b114e742b0aa17fdce78f. 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 to this issue.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.7.0 ≤ v < 2.7.22.8.0 ≤ v < 2.8.12.9.0 ≤ v < 2.9.12.10 rc02.10 rc12.10 rc22.10 rc3
Affected range stops below 2.7.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.8.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.9.1, so it looks safe — our inference, not a vendor statement
v < 2.7.2v < 2.8.1v < 2.9.1
Affected range stops below 2.7.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.8.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.9.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-617

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card