MediumVulnerability
CVE-2022-41880: TensorFlow heap out-of-bounds read in BaseCandidateSamplerOp
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2022-41880
- Published
- Record updated
- Affected
- tensorflow >= 2.10.0, < 2.10.1
- tensorflow-cpu >= 2.10.0, < 2.10.1
- tensorflow-gpu >= 2.10.0, < 2.10.1
- and 6 more
- Fixed in
- 2.10.1
- tensorflow 2.10.1 released November 16, 2022, 3 days before disclosure
- tensorflow-cpu 2.10.1 released November 16, 2022, 3 days before disclosure
- tensorflow-gpu 2.10.1 released November 16, 2022, 3 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.4%
Summary
CVE-2022-41880 affects TensorFlow. When the `BaseCandidateSamplerOp` function receives a value in `true_classes` larger than `range_max`, a heap out-of-bounds read occurs. The source lists TensorFlow 2.11, 2.10.1, 2.9.3 and 2.8.4 as affected.
Mitigation
The issue is patched in GitHub commit b389f5c944cadfdfe599b3f1e4026e036f30d2d4. The fix will be included in TensorFlow 2.11, and the commit will be cherry-picked to TensorFlow 2.10.1, 2.9.3 and 2.8.4.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- tensorflowPyPINo LLM dependency detected · 26 tracked dependents
- tensorflow-gpuPyPINo LLM dependency detected · 2 tracked dependents
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online