CVE-2022-41889
published medium CVSS 3.1 · 5.5Segfault via invalid attributes in `pywrap_tfe_src.cc` in Tensorflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| tensorflow | — | tensorflow>= 2.10.0, < 2.10.1 · >= 2.9.0, < 2.9.3 · < 2.8.4 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| tensorflow | tensorflow | >= 2.10.0, < 2.10.1 (affected)>= 2.9.0, < 2.9.3 (affected)< 2.8.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-476 CWE-476: NULL Pointer Dereference
References
3Provider assertions
3GitHub_M · cna
Segfault via invalid attributes in `pywrap_tfe_src.cc` in Tensorflow
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 81eeab2bb665049f1fe705ab6c3427061dd5e6f58ae82fcef521220a6f2d7893
- Ingested
- 23 Sep 2026, 08:02:45 UTC
- Source record
- Official CVE record