Vulnerability in tensorflow package: UNKNOWN READ in std::pair

tensorflow Updated 02 Oct 2025

Summary

27/02/2021
N/A
Yes i
Unrated
Not published

OSV-2021-449: UNKNOWN READ in std::pair. Affects tensorflow versions >= 0834086910de00f55876040943975e388b645e7a, < 7677422a56f18c10e3827e29dc8da8a7b23fbede. Fixed in 7677422a56f18c10e3827e29dc8da8a7b23fbede. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The tensorflow package is a popular open-source library used for machine learning and deep learning tasks. It provides a comprehensive set of tools and functions for building and training neural networks. The package is widely used in various industries and research fields.

Vulnerability Detail

This vulnerability, identified as UNKNOWN READ, affects the tensorflow package. It can lead to a crash in the std::pair<absl::lts_NUMBER_02_25::container_internal::raw_hash_set<absl::lts_NUM function, specifically in the tensorflow::SparseCount<long, long>::Compute and tensorflow::KernelAndDeviceOp::Run functions. The exact cause and impact of this vulnerability are currently unknown.

How To Fix

Latest published version: 2.21.0 as of 22 Oct 2026

pip install --upgrade "tensorflow==2.21.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

7677422a56f18c10e3827e29dc8da8a7b23fbede

This is the first release that contains the fix.

pip install --upgrade "tensorflow==7677422a56f18c10e3827e29dc8da8a7b23fbede"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

No specific workaround has been provided for this vulnerability.

Conclusion

In conclusion, the tensorflow package is affected by an UNKNOWN READ vulnerability, which can result in crashes or unexpected behavior. It is recommended to update to the latest version of the package to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for tensorflow →

Share this vulnerability

FAQ

The exact impact of this vulnerability is currently unknown. It may lead to crashes or other unexpected behavior in applications using the tensorflow package.

There is no information available about any known exploits for this vulnerability at the moment.

No, only versions between 0834086910de00f55876040943975e388b645e7a and 7677422a56f18c10e3827e29dc8da8a7b23fbede are affected by this vulnerability.

Yes, the vulnerability has been fixed in versions 7677422a56f18c10e3827e29dc8da8a7b23fbede and later.

You can find more information about this vulnerability in the OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31393

Related vulnerabilities

Recent vulnerabilities recorded for tensorflow.

How To Fix

Latest published version: 2.21.0 as of 22 Oct 2026

pip install --upgrade "tensorflow==2.21.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

7677422a56f18c10e3827e29dc8da8a7b23fbede

This is the first release that contains the fix.

pip install --upgrade "tensorflow==7677422a56f18c10e3827e29dc8da8a7b23fbede"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback