CVE-2022-41884 json
Seg fault in `ndarray_tensor_bridge` due to zero and large inputs in Tensorflow
published 2022-11-18 3 y ago modified 2026-09-08 2 mo ago also BIT-tensorflow-2022-41884 , EUVD-2022-7375 , GHSA-jq6x-99hj-q636 , PYSEC-2026-1013 , PYSEC-2026-3208 , PYSEC-2026-3345
- cvss
- 4.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 31%
- public exploits
- 0
- none known
Summary
TensorFlow is an open source platform for machine learning. If a numpy array is created with a shape such that one element is zero and the others sum to a large number, an error will be raised. We have patched the issue in GitHub commit 2b56169c16e375c521a3bc8ea658811cc0793784. 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
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.37% chance of exploitation in the next 30 days, higher than 31% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/tensorflow/tensorflow/security/advisories/GHSA-jq6x-99hj-q636 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/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 | 4.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/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-670 Always-Incorrect Control Flow Implementation
References
-
github.com
/tensorflow/tensorflow/commit/2b56169c16e375c521a3bc8ea658811cc0793784
web, patch, third-party-advisory, advisory
-
github.com
/tensorflow/tensorflow/security/advisories/GHSA-jq6x-99hj-q636
web, exploit, patch, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-41884
advisory, web
-
github.com
/tensorflow/tensorflow
package
-
pypi.org
/project/tensorflow-gpu
package
-
github.com
/advisories/GHSA-jq6x-99hj-q636
advisory
-
pypi.org
/project/tensorflow
package
-
pypi.org
/project/tensorflow-cpu
package
Sources
- CVE List CVE-2022-41884
- GitHub Advisory GHSA-jq6x-99hj-q636
- NVD CVE-2022-41884
- OSV BIT-tensorflow-2022-41884
- OSV PYSEC-2026-1013
- OSV PYSEC-2026-3208
- OSV PYSEC-2026-3345
Fencer Vulns 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.