{"schemaVersion":4,"id":"CVE-2022-41894","aliases":["GHSA-h6q3-vv32-2cq5","BIT-tensorflow-2022-41894","PYSEC-2026-936"],"status":"published","duplicateOf":null,"title":"Buffer overflow in `CONV_3D_TRANSPOSE` on TFLite","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.","dates":{"published":"2022-11-18T00:00:00.000Z","modified":"2025-04-22T16:04:55.192Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":3.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00765,"percentile":0.56822,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.179,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00586},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00639,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00639,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00639,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00639,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00639,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00639,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00765,"percentile":0.56822}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00639,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00639,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00639,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00639,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00639,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00639,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00761,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00765,"percentile":0.56822}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_TENSORFLOW_TENSORFLOW","name":"Tensorflow","source":"github","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-4g9f-63rx-5cw4","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input","description":"The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/120.html"}],"affected":[{"vendor":"google","product":"tensorflow","name":"tensorflow","label":"tensorflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.8.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.8.4","endInclusive":false}},{"text":"≥ 2.9.0, < 2.9.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.9.0","startInclusive":true,"end":"2.9.3","endInclusive":false}},{"text":"≥ 2.10.0, < 2.10.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.10.0","startInclusive":true,"end":"2.10.1","endInclusive":false}}],"versionsText":"< 2.8.4 | ≥ 2.9.0, < 2.9.3 | ≥ 2.10.0, < 2.10.1","eol":null,"hubHref":"/vendor/google/tensorflow"},{"vendor":"PyPI","product":"tensorflow","name":"tensorflow","label":"tensorflow","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/tensorflow","purlType":"pypi","versions":[{"text":"< 2.8.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.8.4","endInclusive":false}},{"text":"≥ 2.9.0, < 2.9.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.9.0","startInclusive":true,"end":"2.9.3","endInclusive":false}},{"text":"≥ 2.10.0, < 2.10.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.10.0","startInclusive":true,"end":"2.10.1","endInclusive":false}}],"versionsText":"< 2.8.4 | ≥ 2.9.0, < 2.9.3 | ≥ 2.10.0, < 2.10.1","eol":null,"hubHref":null},{"vendor":"tensorflow","product":"tensorflow","name":"tensorflow","label":"tensorflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.10.0, < 2.10.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.10.0","startInclusive":true,"end":"2.10.1","endInclusive":false}},{"text":"≥ 2.9.0, < 2.9.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.9.0","startInclusive":true,"end":"2.9.3","endInclusive":false}},{"text":"< 2.8.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.8.4","endInclusive":false}}],"versionsText":"≥ 2.10.0, < 2.10.1 | ≥ 2.9.0, < 2.9.3 | < 2.8.4","eol":null,"hubHref":"/vendor/tensorflow/tensorflow"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-h6q3-vv32-2cq5","label":"github.com/tensorflow/tensorflow/security/advisories/GHSA-h6q3-vv32-2cq5","hostname":"github.com","tags":["WEB","Exploit","Patch","Third Party Advisory"]},{"url":"https://github.com/tensorflow/tensorflow/commit/72c0bdcb25305b0b36842d746cc61d72658d2941","label":"github.com/tensorflow/tensorflow/commit/72c0bdcb25305b0b36842d746cc61d72658d2941","hostname":"github.com","tags":["WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/tensorflow/tensorflow/blob/091e63f0ea33def7ecad661a5ac01dcafbafa90b/tensorflow/lite/kernels/internal/reference/conv3d_transpose.h#L121","label":"github.com/tensorflow/…","hostname":"github.com","tags":["WEB","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41894","label":"nvd.nist.gov/vuln/detail/CVE-2022-41894","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://github.com/tensorflow/tensorflow","label":"github.com/tensorflow/tensorflow","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/tensorflow","label":"pypi.org/project/tensorflow","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-h6q3-vv32-2cq5","label":"github.com/advisories/GHSA-h6q3-vv32-2cq5","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-11-18T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-22T16:04:55.192Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"public-exploit","reason":"Public exploit (GitHub, Date unknown)","nextStep":"Check applicability: affected before 2.8.4, 2.9.3, 2.10.1 (CNA); fix release not confirmed","rank":[0,0,0,1,1,71],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00765,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-04-22T16:04:55.192Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_pypi","date":"2025-04-22T16:04:55.192Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2025-04-22T16:04:55.192Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2025-04-22T15:40:39.752Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"},{"type":"exploit","source":"github","date":null,"status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"poc","verified":false}],"epss":{"value":0.00765,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T02:02:32.515Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T02:02:33.061Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T02:02:33.247Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T02:00:57.638Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T02:02:28.824Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T02:02:28.182Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T02:45:12.688Z","stale":false,"partial":false}}