# CVE-2022-41894: Buffer overflow in `CONV_3D_TRANSPOSE` on TFLite

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-11-18T00:00:00.000Z
- Modified: 2026-09-08T08:48:20.621Z
- Also known as: GHSA-h6q3-vv32-2cq5, BIT-TENSORFLOW-2022-41894, PYSEC-2026-936
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- tensorflow tensorflow: >= 2.10.0, < 2.10.1; >= 2.9.0, < 2.9.3; < 2.8.4
- tensorflow (PyPI): before 2.8.4; from 2.9.0 before 2.9.3; from 2.10.0 before 2.10.1
- google tensorflow: before 2.8.4; from 2.9.0 before 2.9.3; from 2.10.0 before 2.10.1
- tensorflow (Bitnami): before 2.8.4; from 2.9.0 before 2.9.3; from 2.10.0 before 2.10.1

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

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

## Sources

- CVE List: [CVE-2022-41894](https://www.cve.org/CVERecord?id=CVE-2022-41894), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-h6q3-vv32-2cq5](https://github.com/advisories/GHSA-h6q3-vv32-2cq5), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2022-41894](https://nvd.nist.gov/vuln/detail/CVE-2022-41894), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-936](https://osv.dev/vulnerability/PYSEC-2026-936), CC-BY-4.0, modified 2026-07-07
- Bitnami Vulnerability Database: [BIT-TENSORFLOW-2022-41894](https://osv.dev/vulnerability/BIT-TENSORFLOW-2022-41894), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-41894 · Whole record: https://cve.day/CVE-2022-41894.json · Rebuilt by cve.day 2026-11-25T22:58:16.635Z
