# CVE-2022-41894: Buffer overflow in \`CONV\_3D\_TRANSPOSE\` on TFLite

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 2.8.4, 2.9.3, 2.10.1 (CNA); fix release not confirmed
- Status: published
- Published: 2022-11-18 · Modified: 2025-04-22
- Aliases: GHSA-h6q3-vv32-2cq5, BIT-tensorflow-2022-41894, PYSEC-2026-936
- Record: https://cvemate.com/vulnerability/CVE-2022-41894 · JSON: https://cvemate.com/vulnerability/CVE-2022-41894/json

## Description

```text
TensorFlow is an open source platform for machine learning. The reference kernel of the `CONV_3D_TRANSPOSE` TensorFlow Lite operator wrongly increments the data_ptr when adding the bias to the result. Instead of `data_ptr += num_channels;` it should be `data_ptr += output_num_channels;` as if the number of input channels is different than the number of output channels, the wrong result will be returned and a buffer overflow will occur if num_channels > output_num_channels. An attacker can craft a model with a specific number of input channels. It is then possible to write specific values through the bias of the layer outside the bounds of the buffer. This attack only works if the reference kernel resolver is used in the interpreter. We have patched the issue in GitHub commit 72c0bdcb25305b0b36842d746cc61d72658d2941. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
```

## Signals

- CVSS: 8.1 high (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.765%, percentile 56.822%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- google tensorflow: \< 2.8.4 \| ≥ 2.9.0, \< 2.9.3 \| ≥ 2.10.0, \< 2.10.1
- PyPI tensorflow (PyPI): \< 2.8.4 \| ≥ 2.9.0, \< 2.9.3 \| ≥ 2.10.0, \< 2.10.1
- tensorflow tensorflow: ≥ 2.10.0, \< 2.10.1 \| ≥ 2.9.0, \< 2.9.3 \| \< 2.8.4

## References

- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-h6q3-vv32-2cq5>
- <https://github.com/tensorflow/tensorflow/commit/72c0bdcb25305b0b36842d746cc61d72658d2941>
- <https://github.com/tensorflow/tensorflow/blob/091e63f0ea33def7ecad661a5ac01dcafbafa90b/tensorflow/lite/kernels/internal/reference/conv3d_transpose.h#L121>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-41894>
- <https://github.com/tensorflow/tensorflow>
- <https://pypi.org/project/tensorflow>
- <https://github.com/advisories/GHSA-h6q3-vv32-2cq5>

---

Data as of 2026-12-05T02:45:12.688Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
