cve.bz

CVE-2022-41880

9.1 criticalEPSS 0.4%

TensorFlow is an open source platform for machine learning. When the `BaseCandidateSamplerOp` function receives a value in `true_classes` larger than `range_max`, a heap oob read occurs. We have patched the issue in GitHub commit b389f5c944cadfdfe599b3f1e4026e036f30d2d4. 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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS
0.4% chance of exploitation in the next 30 days; higher than 36% of CVEs (scores of 2026-10-31)
CWE
CWE-125
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8w5g-3wcv-9g2jPyPItensorflow>=2.10.0 <2.10.12.10.1
GHSA-8w5g-3wcv-9g2jPyPItensorflow-cpu>=2.10.0 <2.10.12.10.1
GHSA-8w5g-3wcv-9g2jPyPItensorflow-gpu>=2.10.0 <2.10.12.10.1
GHSA-8w5g-3wcv-9g2jPyPItensorflow<2.8.42.8.4
GHSA-8w5g-3wcv-9g2jPyPItensorflow-cpu<2.8.42.8.4
GHSA-8w5g-3wcv-9g2jPyPItensorflow-gpu<2.8.42.8.4
GHSA-8w5g-3wcv-9g2jPyPItensorflow>=2.9.0 <2.9.32.9.3
GHSA-8w5g-3wcv-9g2jPyPItensorflow-cpu>=2.9.0 <2.9.32.9.3
GHSA-8w5g-3wcv-9g2jPyPItensorflow-gpu>=2.9.0 <2.9.32.9.3
PYSEC-2026-3140PyPItensorflow<2.8.4
>=2.9.0 <2.9.3
>=2.10.0 <2.10.1
2.8.4, 2.9.3, 2.10.1
PYSEC-2026-3298PyPItensorflow-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
PYSEC-2026-971PyPItensorflow-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

References

Check your stackJSON