{"id":"PYSEC-2026-3331","summary":"TensorFlow has segfault in array_ops.upper_bound","details":"### Impact\n`array_ops.upper_bound` causes a segfault when not given a rank 2 tensor.\n\n### Patches\nWe have patched the issue in GitHub commit [915884fdf5df34aaedd00fc6ace33a2cfdefa586](https://github.com/tensorflow/tensorflow/commit/915884fdf5df34aaedd00fc6ace33a2cfdefa586).\n\nThe fix will be included in TensorFlow 2.13. We will also cherrypick this commit in TensorFlow 2.12.1.\n\n\n### For more information\nPlease consult [our security guide](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) for more information regarding the security model and how to contact us with issues and questions.\n\n\n### Attribution\nThis vulnerability has been reported by dmc1778","aliases":["BIT-tensorflow-2023-33976","CVE-2023-33976","GHSA-gjh7-xx4r-x345","PYSEC-2026-1962","PYSEC-2026-3190"],"modified":"2026-07-13T16:43:08.886917273Z","published":"2026-07-13T14:36:32.509485Z","references":[{"type":"WEB","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-gjh7-xx4r-x345"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-33976"},{"type":"WEB","url":"https://github.com/tensorflow/tensorflow/commit/6fa05df43b00038b048f4f0e51ef522da6532fec"},{"type":"WEB","url":"https://github.com/tensorflow/tensorflow/commit/915884fdf5df34aaedd00fc6ace33a2cfdefa586"},{"type":"PACKAGE","url":"https://github.com/tensorflow/tensorflow"},{"type":"PACKAGE","url":"https://pypi.org/project/tensorflow-cpu"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-gjh7-xx4r-x345"}],"affected":[{"package":{"name":"tensorflow-cpu","ecosystem":"PyPI","purl":"pkg:pypi/tensorflow-cpu"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.12.1"}]}],"versions":["1.15.0","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.10.0","2.10.0rc0","2.10.0rc1","2.10.0rc2","2.10.0rc3","2.10.1","2.11.0","2.11.0rc0","2.11.0rc1","2.11.0rc2","2.11.1","2.12.0","2.12.0rc0","2.12.0rc1","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.5.0","2.5.1","2.5.2","2.5.3","2.6.0","2.6.1","2.6.2","2.6.3","2.6.4","2.6.5","2.7.0","2.7.1","2.7.2","2.7.3","2.7.4","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.9.0","2.9.0rc0","2.9.0rc1","2.9.0rc2","2.9.1","2.9.2","2.9.3"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/tensorflow-cpu/PYSEC-2026-3331.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}