CVE-2023-25664: TensorFlow vulnerable to Heap Buffer Overflow in AvgPoolGrad
Vulnerability summary
CVE-2023-25664 is a critical (CVSS 9.8) vulnerability in google tensorflow. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 37.8% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
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. Prior to versions 2.12.0 and 2.11.1, there is a heap buffer overflow in TAvgPoolGrad. A fix is included in TensorFlow 2.12.0 and 2.11.1.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.41%
Chance of exploitation in the next 30 days
Percentile
38%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.41% 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
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-120Buffer Copy without Checking Size of InputThe product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
- CWE-122Heap-based Buffer OverflowThe product writes past the end of a buffer that was allocated on the heap.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
PyPI2 products
- tensorflow< 2.11.1
- tensorflow-cpu< 2.11.1
Google1 product
- tensorflow< 2.12.0
Tensorflow1 product
- tensorflow< 2.11.1
3 vendors · 4 products
References
7 links- github.com/tensorflow/tensorflow/commit/ddaac2bdd099bec5d7923dea45276a7558217e5bX Refsource MISCWEBPatch
- pypi.org/project/tensorflowPACKAGE