Advisory

PYSEC-2026-1049

Also known as: BIT-tensorflow-2022-41900, CVE-2022-41900, GHSA-xvwp-h6jv-7472, PYSEC-2026-3261, PYSEC-2026-3383

Summary

FractionalMaxPool and FractionalAVGPool heap out-of-bounds acess

Details

Impact
An input pooling_ratio that is smaller than 1 will trigger a heap OOB in `tf.raw_ops.FractionalMaxPool` and `tf.raw_ops.FractionalAvgPool`.

Patches
We have patched the issue in GitHub commit 216525144ee7c910296f5b05d214ca1327c9ce48.

The fix will be included in TensorFlow 2.11.0. We will also cherry pick this commit on TensorFlow 2.10.1.

For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.

Severity

High Basis: CVSS v3 score 7.1, vector CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2026-07-07 10:17 UTC
Modified
2026-07-13 16:43 UTC

Affected packages and fixes

tensorflow-gpu

PyPI · All systems

Affected

  • introduced 0, fixed 2.8.4, introduced 2.9.0, fixed 2.9.3, introduced 2.10.0, fixed 2.10.1 (ecosystem)

Fixed versions

2.8.4, 2.9.3, 2.10.1

Fix

  • Fixed version 2.8.4
    pip install --upgrade tensorflow-gpu==2.8.4
  • Fixed version 2.9.3
    pip install --upgrade tensorflow-gpu==2.9.3
  • Fixed version 2.10.1
    pip install --upgrade tensorflow-gpu==2.10.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences