Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-21233

TensorFlow before 1.7.0 has an integer overflow that causes an out-of-bounds read, possibly causing disclosure of the contents of process memory. This occurs in the DecodeBmp feature of the BMP decoder in core/kernels/decode_bmp_op.cc.

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

Source evidence

CVE-2018-21233

core-osv · Original source

Published 4 May 2020, 15:15 UTC

TensorFlow before 1.7.0 has an integer overflow that causes an out-of-bounds read, possibly causing disclosure of the contents of process memory. This occurs in the DecodeBmp feature of the BMP decoder in core/kernels/decode_bmp_op.cc.

osv:CVE-2018-21233
Complete source record
{
  "id": "e90127dbc551413e306bc4badefedb8513c80363ebccc624ad44aee0a8f0b5fb",
  "url": "https://osv.dev/vulnerability/CVE-2018-21233",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-21233",
    "summary": "TensorFlow before 1.7.0 has an integer overflow that causes an out-of-bounds read, possibly causing disclosure of the contents of process memory. This occurs in the DecodeBmp feature of the BMP decoder in core/kernels/decode_bmp_op.cc.",
    "evidence": "osv:CVE-2018-21233",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-21233",
      "aliases": [
        "CVE-2018-21233",
        "GHSA-h98h-8mxr-m8gx",
        "PYSEC-2020-253",
        "PYSEC-2020-269",
        "PYSEC-2020-304"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/tensorflow/tensorflow",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "024aecf414941e11eb643e29ceed3e1c47a115ad"
                },
                {
                  "fixed": "49f73c55d56edffebde4bca4a407ad69c1cae433"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.7.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "49f73c55d56edffebde4bca4a407ad69c1cae433"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.7.0-rc1",
            "v1.7.0-rc0",
            "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-2018-21233.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-21233-433640f9",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "97877044402045081881509710771901653203",
                    "28952653648696910750346870597114823589",
                    "218760019552116986615914679197005461300",
                    "200286665333461273461120917545071681885",
                    "166994877315827101245699627430856038715",
                    "264319968896000964012779744868199012490",
                    "173512682855094858768514141893570360691",
                    "179551789739096835292128239127761555572",
                    "215505579386537496475241843782563655004",
                    "262251609899695293797889081034804724234",
                    "173228101149786076274078057649512127389",
                    "130884279417664182971573354004537577067",
                    "84656358142605405641352490688556126244",
                    "40054913366930676493112924903656686868"
                  ]
                },
                "source": "https://github.com/tensorflow/tensorflow/commit/49f73c55d56edffebde4bca4a407ad69c1cae433",
                "target": {
                  "file": "tensorflow/core/kernels/decode_bmp_op.cc"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:10:36Z"
          }
        }
      ],
      "modified": "2026-10-20T14:10:36.126165553Z",
      "provider": "osv",
      "references": [
        "https://github.com/tensorflow/tensorflow/blob/master/tensorflow/security/advisory/tfsa-2018-001.md",
        "https://github.com/tensorflow/tensorflow/commit/49f73c55d56edffebde4bca4a407ad69c1cae433"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-21233",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388629,
  "published_at": "2020-05-04T15:15:13.48+00:00"
}