Advisory

PYSEC-2026-3331

Also known as: BIT-tensorflow-2023-33976, CVE-2023-33976, GHSA-gjh7-xx4r-x345, PYSEC-2026-1962, PYSEC-2026-3190

Summary

TensorFlow has segfault in array_ops.upper_bound

Details

Impact
array_ops.upper_bound causes a segfault when not given a rank 2 tensor.

Patches
We have patched the issue in GitHub commit 915884fdf5df34aaedd00fc6ace33a2cfdefa586.

The fix will be included in TensorFlow 2.13. We will also cherrypick this commit in TensorFlow 2.12.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.

Attribution
This vulnerability has been reported by dmc1778

Severity

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

Dates

Published
2026-07-13 14:36 UTC
Modified
2026-07-13 16:43 UTC

Affected packages and fixes

tensorflow-cpu

PyPI · All systems

Affected

  • introduced 0, fixed 2.12.1 (ecosystem)

Fixed versions

2.12.1

Fix

  • Fixed version 2.12.1
    pip install --upgrade tensorflow-cpu==2.12.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