CVE-2022-29202

Denial of service in TensorFlow due to lack of validation in `tf.ragged.constant`

MEDIUM
5.5
CVSS Score
Published: May 20, 2022 at 10:55 PM UTC
Updated: June 17, 2026 at 04:39 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
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
PoC

Description

TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of `tf.ragged.constant` does not fully validate the input arguments. This results in a denial of service by consuming all available memory. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

Affected

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

Affected range stops below 2.6.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.7.2, so it looks safe — our inference, not a vendor statement
v < 2.6.4v < 2.7.2v < 2.8.1v < 2.9.0
Affected range stops below 2.6.4, so it looks safe — our inference, not a vendor statement
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.0, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

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

CVSS

5.5MEDIUMGitHub_M
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-20CWE-400CWE-1284

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