cve.bz

CVE-2020-26268 google tensorflow

4.4 mediumExploit referenceEPSS 0.2%Fix available

Medium (4.4) in google tensorflow. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in tensorflow 1.15.5, 2.0.4, 2.1.3.

On this page
In affected versions of TensorFlow the tf.raw_ops.ImmutableConst operation returns a constant tensor created from a memory mapped file which is assumed immutable. However, if the type of the tensor is not an integral type, the operation crashes the Python interpreter as it tries to write to the memory area. If the file is too small, TensorFlow properly returns an error as the memory area has fewer bytes than what is needed for the tensor it creates. However, as soon as there are enough bytes, the above snippet causes a segmentation fault. This is because the allocator used to return the buffer data is not marked as returning an opaque handle since the needed virtual method is not overridden. This is fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0.

Severity

CVSS 3.1

4.4 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 7th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-471 Modification of Assumed-Immutable Data (MAID)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-26268 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-26268?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-26268?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-26268 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
google:tensorflowbefore 1.15.5
google:tensorflowfrom 2.0.0 before 2.0.4
google:tensorflowfrom 2.1.0 before 2.1.3
google:tensorflowfrom 2.2.0 before 2.2.2
google:tensorflowfrom 2.3.0 before 2.3.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hhvc-g5hv-48c6PyPItensorflow<1.15.51.15.5
GHSA-hhvc-g5hv-48c6PyPItensorflow>=2.0.0 <2.0.42.0.4
GHSA-hhvc-g5hv-48c6PyPItensorflow>=2.1.0 <2.1.32.1.3
GHSA-hhvc-g5hv-48c6PyPItensorflow>=2.2.0 <2.2.22.2.2
GHSA-hhvc-g5hv-48c6PyPItensorflow>=2.3.0 <2.3.22.3.2
GHSA-hhvc-g5hv-48c6PyPItensorflow-cpu<1.15.51.15.5
GHSA-hhvc-g5hv-48c6PyPItensorflow-cpu>=2.0.0 <2.0.42.0.4
GHSA-hhvc-g5hv-48c6PyPItensorflow-cpu>=2.1.0 <2.1.32.1.3
GHSA-hhvc-g5hv-48c6PyPItensorflow-cpu>=2.2.0 <2.2.22.2.2
GHSA-hhvc-g5hv-48c6PyPItensorflow-cpu>=2.3.0 <2.3.22.3.2
GHSA-hhvc-g5hv-48c6PyPItensorflow-gpu<1.15.51.15.5
GHSA-hhvc-g5hv-48c6PyPItensorflow-gpu>=2.0.0 <2.0.42.0.4
GHSA-hhvc-g5hv-48c6PyPItensorflow-gpu>=2.1.0 <2.1.32.1.3
GHSA-hhvc-g5hv-48c6PyPItensorflow-gpu>=2.2.0 <2.2.22.2.2
GHSA-hhvc-g5hv-48c6PyPItensorflow-gpu>=2.3.0 <2.3.22.3.2
PYSEC-2020-255PyPItensorflow<1.15.5
>=2.0.0 <2.0.4
>=2.1.0 <2.1.3
>=2.2.0 <2.2.2
>=2.3.0 <2.3.2
1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2
PYSEC-2020-299PyPItensorflow-cpu<1.15.5
>=2.0.0 <2.0.4
>=2.1.0 <2.1.3
>=2.2.0 <2.2.2
>=2.3.0 <2.3.2
1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2
PYSEC-2020-334PyPItensorflow-gpu<1.15.5
>=2.0.0 <2.0.4
>=2.1.0 <2.1.3
>=2.2.0 <2.2.2
>=2.3.0 <2.3.2
1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSEPackage Hub 15 SP3bazel-skylib1.0.31.0.3-bp153.2.1openSUSE-SU-2022:10014-1
SUSEPackage Hub 15 SP3bazel3.73.7.2-bp153.4.1openSUSE-SU-2022:10014-1
SUSEPackage Hub 15 SP3tensorflow2, tensorflow2-lite, tensorflow2_2_6_0-gnu-hpc and 1 more2.6.0-bp153.2.3.1openSUSE-SU-2022:10014-1
openSUSELeap 15.3bazel-skylib1.0.31.0.3-bp153.2.1openSUSE-SU-2022:10014-1
openSUSELeap 15.3bazel3.73.7.2-bp153.4.1openSUSE-SU-2022:10014-1
openSUSELeap 15.3tensorflow2, tensorflow2-lite, tensorflow2_2_6_0-gnu-hpc and 1 more2.6.0-bp153.2.3.1openSUSE-SU-2022:10014-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-384 Application API Message Manipulation via Man-in-the-Middle Severity: Low
  • CAPEC-385 Transaction or Event Tampering via Application API Manipulation Severity: Medium
  • CAPEC-386 Application API Navigation Remapping Severity: Medium
  • CAPEC-387 Navigation Remapping To Propagate Malicious Content Severity: Medium
  • CAPEC-388 Application API Button Hijacking Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON