Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-26266

In affected versions of TensorFlow under certain cases a saved model can trigger use of uninitialized values during code execution. This is caused by having tensor buffers be filled with the default value of the type but forgetting to default initialize the quantized floating point types in Eigen. This is fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-26266
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:40 UTC · Revision 1

Source evidence

CVE-2020-26266

core-osv · Original source

Published 10 Dec 2020, 23:15 UTC

In affected versions of TensorFlow under certain cases a saved model can trigger use of uninitialized values during code execution. This is caused by having tensor buffers be filled with the default value of the type but forgetting to default initialize the quantized floating point types in Eigen. This is fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0.

osv:CVE-2020-26266
Complete source record
{
  "id": "9688c9b60bf0ed3ec2cb0256827aea88d221cddb356fe46f49f26be0c5ae365f",
  "url": "https://osv.dev/vulnerability/CVE-2020-26266",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-26266",
    "summary": "In affected versions of TensorFlow under certain cases a saved model can trigger use of uninitialized values during code execution. This is caused by having tensor buffers be filled with the default value of the type but forgetting to default initialize the quantized floating point types in Eigen. This is fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0.",
    "evidence": "osv:CVE-2020-26266",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-26266",
      "aliases": [
        "BIT-tensorflow-2020-26266",
        "CVE-2020-26266",
        "GHSA-qhxx-j73r-qpm2",
        "PYSEC-2020-254",
        "PYSEC-2020-297",
        "PYSEC-2020-332"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/tensorflow/tensorflow",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3db52be7be81a87c623cdeb7f03d3767521c5246"
                },
                {
                  "introduced": "64c3d382cadf7bbe8e7e99884bede8284ff67f56"
                },
                {
                  "fixed": "cdf2c541c3dd3fb6d03cce4d23fc6c548bc9017c"
                },
                {
                  "introduced": "e5bf8de410005de06a7ff5393fafdf832ef1d4ad"
                },
                {
                  "fixed": "77f47d6ed6ca1f50b6f2c4919097e625d50398a9"
                },
                {
                  "introduced": "2b96f3662bd776e277f86997659e61046b56c315"
                },
                {
                  "fixed": "d745ff2a48cebf18e847e8b602a744e97e058946"
                },
                {
                  "introduced": "b36436b087bd8e8701ef51718179037cccdfc26e"
                },
                {
                  "fixed": "9edbe5075f79a4a95ed14a2be831f9b59e61f49d"
                },
                {
                  "fixed": "ace0c15a22f7f054abcc1f53eabbcb0a1239a9e2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.15.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "fixed": "2.0.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.1.0"
                      },
                      {
                        "fixed": "2.1.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.0"
                      },
                      {
                        "fixed": "2.2.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.0"
                      },
                      {
                        "fixed": "2.3.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ace0c15a22f7f054abcc1f53eabbcb0a1239a9e2"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.1.2",
            "v2.0.3",
            "v1.15.4",
            "v2.2.1",
            "v2.3.1",
            "v2.2.0",
            "v2.1.1",
            "v2.3.0",
            "v2.0.2",
            "v1.15.3",
            "v2.0.1",
            "v2.1.0",
            "v1.15.2",
            "v1.15.0",
            "v1.15.0-rc3",
            "v2.0.0",
            "v1.15.0-rc2",
            "v1.15.0-rc1",
            "v1.15.0-rc0",
            "v1.12.1",
            "v1.9.0-rc2",
            "v1.6.0-rc1",
            "v1.1.0-rc2",
            "v1.1.0-rc1",
            "0.6.0",
            "0.5.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-26266.json",
            "vanir_signatures": [
              {
                "id": "CVE-2020-26266-f0f3d529",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "231289252184868460530183455252448555701",
                    "91757656206247693469837762295996955821",
                    "66970839959035880307393909995951173698",
                    "11518239365843261293496394939609917096",
                    "242992934956458659375590923280164619168",
                    "206277749462441338750747845374400206475",
                    "86034811856627147695209182625229439334",
                    "301585017095876410194697264531438450888",
                    "207633293496491729828571013863742450776",
                    "106132110187779549802454677573216740439",
                    "198031268189036871478006492995747145398",
                    "35830025694834872425823996469298033687",
                    "214103932759733219701062748452444376",
                    "258797823279588062531381319958224446467",
                    "193686778271171616397672057532987456773",
                    "283270390044034441146718569701339457380",
                    "243696162080901553351425793210896891130",
                    "60562352571251926566214593113919123499",
                    "240740306320204458167942422132404988553",
                    "3000219045584667782366701494661908717"
                  ]
                },
                "source": "https://github.com/tensorflow/tensorflow/commit/ace0c15a22f7f054abcc1f53eabbcb0a1239a9e2",
                "target": {
                  "file": "third_party/eigen3/unsupported/Eigen/CXX11/src/FixedPoint/FixedPointTypes.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:10:57Z"
          }
        }
      ],
      "modified": "2026-10-20T14:10:57.437988245Z",
      "provider": "osv",
      "references": [
        "https://github.com/tensorflow/tensorflow/commit/ace0c15a22f7f054abcc1f53eabbcb0a1239a9e2",
        "https://github.com/tensorflow/tensorflow/security/advisories/GHSA-qhxx-j73r-qpm2"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-26266",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388684,
  "published_at": "2020-12-10T23:15:12.647+00:00"
}