{"id":"CVE-2023-25667","published":"2023-03-24T23:40:20Z","modified":"2025-02-19T20:39:52Z","title":"TensorFlow vulnerable to segfault when opening multiframe gif","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"TensorFlow is an open source platform for machine learning. Prior to versions 2.12.0 and 2.11.1, integer overflow occurs when `2^31 <= num_frames * height * width * channels < 2^32`, for example Full HD screencast of at least 346 frames. A fix is included in TensorFlow version 2.12.0 and version 2.11.1.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00308,"percentile":0.24234,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-fqm2-gh8w-gr68","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/8dc723fcdd1a6127d6c970bd2ecb18b019a1a58d","tags":["x_refsource_MISC"]}],"priority":{"score":9.4,"factors":[{"name":"EPSS percentile","points":4.85},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":["< 2.11.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-02-19T20:39:37.472760Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":["<2.11.1"],"patched":["2.11.1"],"from":["GHSA-fqm2-gh8w-gr68","PYSEC-2026-3176"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<2.11.1"],"patched":["2.11.1"],"from":["GHSA-fqm2-gh8w-gr68","PYSEC-2026-3321"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":["<2.11.1"],"patched":["2.11.1"],"from":["GHSA-fqm2-gh8w-gr68","PYSEC-2026-1961"],"provenance":"source"}],"summary":{"text":"TensorFlow's GIF decoding component contains an integer overflow flaw that is triggered when the product of a GIF's frame count, height, width and channels falls between 2^31 and 2^32, causing a segmentation fault. An attacker can crash the process by getting it to open a crafted multiframe GIF, requiring network access and no authentication, but user interaction is needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:37Z"},"euvd":{"id":"EUVD-2023-1001","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tensorflow-cve-2018-7576","parents":[{"from":"CVE-2018-7576","to":"CVE-2023-25667","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/lib/gif/gif_io.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/c48431588e7cf8aff61d4c299231e3e925144df8","https://github.com/tensorflow/tensorflow/commit/8dc723fcdd1a6127d6c970bd2ecb18b019a1a58d"],"basis":"shared function","functions":["Decode"]}]},{"from":"CVE-2019-9635","to":"CVE-2023-25667","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/lib/gif/gif_io.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/e41cb124cd0b325821af85cdacd9d8a12e206418","https://github.com/tensorflow/tensorflow/commit/8dc723fcdd1a6127d6c970bd2ecb18b019a1a58d"],"basis":"shared function","functions":["Decode"]}]},{"from":"CVE-2022-23584","to":"CVE-2023-25667","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/image/decode_image_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/e746adbfcfee15e9cfdb391ff746c765b99bdf9b","https://github.com/tensorflow/tensorflow/commit/8dc723fcdd1a6127d6c970bd2ecb18b019a1a58d"],"basis":"shared function","functions":["DecodeImageV2Op"]}]},{"from":"CVE-2022-23585","to":"CVE-2023-25667","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/image/decode_image_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/ab51e5b813573dc9f51efa335aebcf2994125ee9","https://github.com/tensorflow/tensorflow/commit/8dc723fcdd1a6127d6c970bd2ecb18b019a1a58d"],"basis":"shared function","functions":["DecodeImageV2Op"]}]}]}}