CVE-2022-41889

Segfault via invalid attributes in `pywrap_tfe_src.cc` in Tensorflow

HIGH
7.5
CVSS Score
Published: November 18, 2022 at 12:00 AM UTC
Updated: June 17, 2026 at 05:04 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.5%
SSVC
PoC

Description

TensorFlow is an open source platform for machine learning. If a list of quantized tensors is assigned to an attribute, the pywrap code fails to parse the tensor and returns a `nullptr`, which is not caught. An example can be seen in `tf.compat.v1.extract_volume_patches` by passing in quantized tensors as input `ksizes`. We have patched the issue in GitHub commit e9e95553e5411834d215e6770c81a83a3d0866ce. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.

Affected

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

v < 2.8.42.10.0 ≤ v < 2.10.12.9.0 ≤ v < 2.9.3
Affected range stops below 2.10.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.8.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.9.3, so it looks safe — our inference, not a vendor statement
v < 2.10.1v < 2.8.4v < 2.9.3
Affected range stops below 2.10.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.8.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.9.3, 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

SSVCPoCNot 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-476

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