CVE-2023-25668: TensorFlow vulnerable to heap out-of-buffer read in the QuantizeAndDequantize operation
Vulnerability summary
CVE-2023-25668 is a critical (CVSS 9.8) Heap-based Buffer Overflow vulnerability in google tensorflow. EPSS estimates a 0.84% chance of exploitation in the next 30 days, higher than 59.2% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 24-03-2023PublishedVulnerability first disclosed.
- 19-02-2025Last modifiedVulnerability information updated.
Description
TensorFlow is an open source platform for machine learning. Attackers using Tensorflow prior to 2.12.0 or 2.11.1 can access heap memory which is not in the control of user, leading to a crash or remote code execution. The fix will be included in TensorFlow version 2.12.0 and will also cherrypick this commit on TensorFlow version 2.11.1.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · PypiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.84%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.84% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundTensorflow
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
PyPI3 products
- tensorflow< 2.11.1
- tensorflow-cpu< 2.11.1
- tensorflow-gpu< 2.11.1
Google1 product
- tensorflow< 2.12.0
Tensorflow1 product
- tensorflow< 2.11.1
3 vendors · 5 products
References
8 links- github.com/tensorflow/tensorflow/commit/7b174a0f2e40ff3f3aa957aecddfd5aaae35eccbX Refsource MISCWEBExploitPatch
- pypi.org/project/tensorflowPACKAGE