MediumVulnerability
CVE-2022-41887: TensorFlow crash from integer overflow in tf.keras.losses.poisson
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2022-41887
- Published
- Record updated
- Affected
- tensorflow < 2.9.3, fixed in 2.9.3, released November 16, 2022, 3 days before disclosure
- tensorflow >= 2.10.0, < 2.10.1, fixed in 2.10.1, released November 16, 2022, 3 days before disclosure
- tensorflow-cpu < 2.9.3, fixed in 2.9.3, released November 16, 2022, 3 days before disclosure
- and 3 more
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.5%
Summary
CVE-2022-41887 affects TensorFlow's `tf.keras.losses.poisson`. When the `y_pred` and `y_true` inputs passed through `functor::mul` in `BinaryOp` produce dimensions that overflow an `int32`, TensorFlow crashes from a size mismatch during broadcast assignment.
Mitigation
Patched in GitHub commit c5b30379ba87cbe774b08ac50c1f6d36df4ebb7c. The fix ships in TensorFlow 2.11, and the commit will be cherry-picked to TensorFlow 2.10.1 and 2.9.3. It will not be cherry-picked to TensorFlow 2.8.x, because that line depends on Eigen behavior that changed between 2.8 and 2.9.
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-126399: vLLM resource exhaustion via video frame limit bypass in chat completionsSimilar attack · NVD/CVE Database
- MediumCVE-2026-126398: vLLM reachable assertion crash in GPUModelRunner via embeddings-only requestsSimilar attack · NVD/CVE Database
- HighCVE-2026-126397: vLLM denial of service via unbounded max_patches in multimodal preprocessingSimilar attack · NVD/CVE Database
- MediumCVE-2026-126396: vLLM resource exhaustion in MiniMax M3 VL video processor via min_pixelsSimilar attack · NVD/CVE Database
- MediumCVE-2026-126394: vLLM resource exhaustion in OpenCVDynamicOpenPanguVideoBackend via num_framesSimilar attack · NVD/CVE Database