Vulnerabilities / CVE-2022-41880

critical

CVE-2022-41880

CVE-2022-41880 affecting package tensorflow for versions less than 2.11.0-1

Published Modified CWE 125
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
GHSA6.8CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H
Bitnami9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Bitnami, CBL-Mariner. Rated lower by GHSA (medium).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
bitnami::Bitnami Vulnerability Databasetensorflow2.8.4, 2.9.3, 2.10.1
CBL-Mariner 2.0tensorflow0:2.11.0-1.cm2
pip::GitHub Security Advisory piptensorflow, tensorflow-cpu, tensorflow-gpu2.10.1, 2.8.4, 2.9.3
Show all 5 entries from 3 sources
SourcePackageFixed in
bitnami::Bitnami Vulnerability Databasetensorflow2.8.4, 2.9.3, 2.10.1
CBL-Mariner 2.0tensorflow0:2.11.0-1.cm2
pip::GitHub Security Advisory piptensorflow2.10.1, 2.8.4, 2.9.3
pip::GitHub Security Advisory piptensorflow-cpu2.10.1, 2.8.4, 2.9.3
pip::GitHub Security Advisory piptensorflow-gpu2.10.1, 2.8.4, 2.9.3

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.