---
id: CVE-2023-25663
aliases:
  - GHSA-64jg-wjww-7c5w
  - BIT-tensorflow-2023-25663
  - PYSEC-2026-1957
  - PYSEC-2026-3116
  - PYSEC-2026-3282
title: TensorFlow has Null Pointer Error in TensorArrayConcatV2
summary: TensorFlow has Null Pointer Error in TensorArrayConcatV2
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
vendor: tensorflow
product: tensorflow
ecosystem: pip
affected:
  - tensorflow < 2.11.1
  - tensorflow-cpu < 2.11.1
  - tensorflow-gpu < 2.11.1
patched:
  - tensorflow 2.11.1
  - tensorflow-cpu 2.11.1
  - tensorflow-gpu 2.11.1
published: '2023-03-24'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:52.859239684Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-64jg-wjww-7c5w'
references:
  - url: >-
      https://github.com/tensorflow/tensorflow/security/advisories/GHSA-64jg-wjww-7c5w
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-25663'
  - url: >-
      https://github.com/tensorflow/tensorflow/commit/239139d2ae6a81ae9ba499ad78b56d9b2931538a
  - url: 'https://github.com/tensorflow/tensorflow'
tags:
  - osv
  - pip
epss: 0.00394
epssPercentile: 0.33434
ingestedAt: '2026-07-08T18:25:46.281Z'
---

## Overview

### Impact
When ctx->step_containter() is a null ptr, the Lookup function will be executed with a null pointer.
```python
import tensorflow as tf
tf.raw_ops.TensorArrayConcatV2(handle=['a', 'b'], flow_in = 0.1, dtype=tf.int32, element_shape_except0=1)
```

### Patches
We have patched the issue in GitHub commit [239139d2ae6a81ae9ba499ad78b56d9b2931538a](https://github.com/tensorflow/tensorflow/commit/239139d2ae6a81ae9ba499ad78b56d9b2931538a).

The fix will be included in TensorFlow 2.12.0. We will also cherrypick this commit on TensorFlow 2.11.1


### For more information
Please 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.


### Attribution
This vulnerability has been reported by Yu Tian

## Affected packages

- `tensorflow < 2.11.1`
- `tensorflow-cpu < 2.11.1`
- `tensorflow-gpu < 2.11.1`

## Remediation

Upgrade to a patched release:

- `tensorflow 2.11.1`
- `tensorflow-cpu 2.11.1`
- `tensorflow-gpu 2.11.1`
