{"id":"CVE-2020-26267","aliases":["BIT-tensorflow-2020-26267","GHSA-c9f3-9wfr-wgh7","PYSEC-2020-140","PYSEC-2020-298","PYSEC-2020-333"],"url":"https://o3.security/vulnerability/CVE-2020-26267","summary":"Lack of validation in data format attributes in TensorFlow","details":"In affected versions of TensorFlow the tf.raw_ops.DataFormatVecPermute API does not validate the src_format and dst_format attributes. The code assumes that these two arguments define a permutation of NHWC. This can result in uninitialized memory accesses, read outside of bounds and even crashes. This is fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0.","published":"2020-12-10T23:15:12.723Z","modified":"2026-08-07T15:12:17.543523Z","cvss":{"score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"PyPI","name":"tensorflow","fixedVersion":"1.15.5"},{"ecosystem":"PyPI","name":"tensorflow","fixedVersion":"2.0.4"},{"ecosystem":"PyPI","name":"tensorflow","fixedVersion":"2.1.3"},{"ecosystem":"PyPI","name":"tensorflow","fixedVersion":"2.2.2"},{"ecosystem":"PyPI","name":"tensorflow","fixedVersion":"2.3.2"},{"ecosystem":"PyPI","name":"tensorflow-cpu","fixedVersion":"1.15.5"},{"ecosystem":"PyPI","name":"tensorflow-cpu","fixedVersion":"2.0.4"},{"ecosystem":"PyPI","name":"tensorflow-cpu","fixedVersion":"2.1.3"},{"ecosystem":"PyPI","name":"tensorflow-cpu","fixedVersion":"2.2.2"},{"ecosystem":"PyPI","name":"tensorflow-cpu","fixedVersion":"2.3.2"},{"ecosystem":"PyPI","name":"tensorflow-gpu","fixedVersion":"1.15.5"},{"ecosystem":"PyPI","name":"tensorflow-gpu","fixedVersion":"2.0.4"},{"ecosystem":"PyPI","name":"tensorflow-gpu","fixedVersion":"2.1.3"},{"ecosystem":"PyPI","name":"tensorflow-gpu","fixedVersion":"2.2.2"},{"ecosystem":"PyPI","name":"tensorflow-gpu","fixedVersion":"2.3.2"}],"fix":{"url":"https://github.com/tensorflow/tensorflow/commit/ebc70b7a592420d3d2f359e4b1694c236b82c7ae","label":"tensorflow/tensorflow@ebc70b7"},"references":[{"type":"FIX","url":"https://github.com/tensorflow/tensorflow/commit/ebc70b7a592420d3d2f359e4b1694c236b82c7ae"},{"type":"FIX","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-c9f3-9wfr-wgh7"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T15:12:17.543523Z"}}