CVE-2022-41889 json
Segfault via invalid attributes in `pywrap_tfe_src.cc` in Tensorflow
published 3y ago modified 2mo ago also BIT-tensorflow-2022-41889 , EUVD-2022-7469 , GHSA-xxcj-rhqg-m46g , PYSEC-2026-1050 , PYSEC-2026-3262 , PYSEC-2026-3384
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi tensorflow 2.8.4, 2.9.3, 2.10.1
- pypi tensorflow-cpu 2.8.4, 2.9.3, 2.10.1
- pypi tensorflow-gpu 2.8.4, 2.9.3, 2.10.1
- bitnami tensorflow 2.8.4, 2.9.3, 2.10.1
- google tensorflow 2.8.4, 2.9.3, 2.10.1
Is CVE-2022-41889 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/tensorflow/tensorflow/security/advisories/GHSA-xxcj-rhqg-m46g referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | tensorflow | <2.8.4 >=2.9.0, <2.9.3 >=2.10.0, <2.10.1 |
2.8.4 2.9.3 2.10.1 |
| pypi | tensorflow-cpu | <2.8.4 >=2.9.0, <2.9.3 >=2.10.0, <2.10.1 |
2.8.4 2.9.3 2.10.1 |
| pypi | tensorflow-gpu | <2.8.4 >=2.9.0, <2.9.3 >=2.10.0, <2.10.1 |
2.8.4 2.9.3 2.10.1 |
| bitnami | tensorflow | <2.8.4 >=2.9.0, <2.9.3 >=2.10.0, <2.10.1 |
2.8.4 2.9.3 2.10.1 |
Affected products
- tensorflow tensorflow
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
github.com
/tensorflow/tensorflow/commit/e9e95553e5411834d215e6770c81a83a3d0866ce
web, patch, third-party-advisory, advisory
-
github.com
/tensorflow/tensorflow/security/advisories/GHSA-xxcj-rhqg-m46g
web, exploit, patch, third-party-advisory, advisory
-
github.com
/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/image/generate_box_proposals_op.cu.cc
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-41889
advisory, web
-
github.com
/tensorflow/tensorflow
package
-
pypi.org
/project/tensorflow-gpu
package
-
github.com
/advisories/GHSA-xxcj-rhqg-m46g
advisory
-
pypi.org
/project/tensorflow
package
-
pypi.org
/project/tensorflow-cpu
package
Sources
- CVE List CVE-2022-41889
- GitHub Advisory GHSA-xxcj-rhqg-m46g
- NVD CVE-2022-41889
- OSV BIT-tensorflow-2022-41889
- OSV PYSEC-2026-1050
- OSV PYSEC-2026-3262
- OSV PYSEC-2026-3384
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.