cve.bz

CVE-2022-23578

4.3 mediumEPSS 0.7%

Medium (4.3) in google tensorflow. EPSS 0.7% chance of exploitation in the next 30 days. Fixed in tensorflow 2.5.3, 2.6.3, 2.7.1.

Tensorflow is an Open Source Machine Learning Framework. If a graph node is invalid, TensorFlow can leak memory in the implementation of `ImmutableExecutorState::Initialize`. Here, we set `item->kernel` to `nullptr` but it is a simple `OpKernel*` pointer so the memory that was previously allocated to it would leak. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.

Severity

CVSS 3.1

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

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8r7c-3cm2-3h8fPyPItensorflow<2.5.32.5.3
GHSA-8r7c-3cm2-3h8fPyPItensorflow>=2.6.0 <2.6.32.6.3
GHSA-8r7c-3cm2-3h8fPyPItensorflow>=2.7.0 <2.7.12.7.1
GHSA-8r7c-3cm2-3h8fPyPItensorflow-cpu<2.5.32.5.3
GHSA-8r7c-3cm2-3h8fPyPItensorflow-cpu>=2.6.0 <2.6.32.6.3
GHSA-8r7c-3cm2-3h8fPyPItensorflow-cpu>=2.7.0 <2.7.12.7.1
GHSA-8r7c-3cm2-3h8fPyPItensorflow-gpu<2.5.32.5.3
GHSA-8r7c-3cm2-3h8fPyPItensorflow-gpu>=2.6.0 <2.6.32.6.3
GHSA-8r7c-3cm2-3h8fPyPItensorflow-gpu>=2.7.0 <2.7.12.7.1
PYSEC-2022-142PyPItensorflow-gpu<2.5.3
>=2.6.0 <2.6.3
2.5.3, 2.6.3
PYSEC-2022-87PyPItensorflow-cpu<2.5.3
>=2.6.0 <2.6.3
2.5.3, 2.6.3
PYSEC-2026-3138PyPItensorflow<2.5.3
>=2.6.0 <2.6.3
>=2.7.0 <2.7.1
2.5.3, 2.6.3, 2.7.1

References

Check your stackJSON