{"id":"CVE-2022-41889","published":"2022-11-18T00:00:00Z","modified":"2025-04-22T16:05:44Z","title":"Segfault via invalid attributes in `pywrap_tfe_src.cc` in Tensorflow","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"TensorFlow is an open source platform for machine learning. If a list of quantized tensors is assigned to an attribute, the pywrap code fails to parse the tensor and returns a `nullptr`, which is not caught. An example can be seen in `tf.compat.v1.extract_volume_patches` by passing in quantized tensors as input `ksizes`. We have patched the issue in GitHub commit e9e95553e5411834d215e6770c81a83a3d0866ce. 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00561,"percentile":0.47547,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-xxcj-rhqg-m46g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/e9e95553e5411834d215e6770c81a83a3d0866ce","tags":["x_refsource_MISC"]},{"url":"https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/image/generate_box_proposals_op.cu.cc","tags":["x_refsource_MISC"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":9.51},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":[">= 2.10.0, < 2.10.1",">= 2.9.0, < 2.9.3","< 2.8.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-22T15:42:23.688470Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":["<2.8.4",">=2.9.0, <2.9.3",">=2.10.0, <2.10.1"],"patched":["2.8.4","2.9.3","2.10.1"],"from":["GHSA-xxcj-rhqg-m46g","PYSEC-2026-3262"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<2.8.4",">=2.9.0, <2.9.3",">=2.10.0, <2.10.1"],"patched":["2.8.4","2.9.3","2.10.1"],"from":["GHSA-xxcj-rhqg-m46g","PYSEC-2026-3384"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":["<2.8.4",">=2.9.0, <2.9.3",">=2.10.0, <2.10.1"],"patched":["2.8.4","2.9.3","2.10.1"],"from":["GHSA-xxcj-rhqg-m46g","PYSEC-2026-1050"],"provenance":"source"}],"summary":{"text":"The flaw is a NULL pointer dereference in the pywrap TensorFlow Python-binding source file pywrap_tfe_src.cc within TensorFlow, where a list of quantized tensors assigned to an attribute fails to parse and returns an unchecked nullptr. An attacker with local access and low privileges can trigger a segmentation fault by supplying quantized tensors as input, for example to tf.compat.v1.extract_volume_patches through the ksizes argument, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:55:04Z"},"euvd":{"id":"EUVD-2022-7469","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tensorflow-cve-2022-29205","parents":[{"from":"CVE-2022-29205","to":"CVE-2022-41889","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/python/eager/pywrap_tfe_src.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/237822b59fc504dda2c564787f5d3ad9c4aa62d9","https://github.com/tensorflow/tensorflow/commit/e9e95553e5411834d215e6770c81a83a3d0866ce"],"basis":"rarely changed file"}]}]}}