CVE-2021-41196
CVE-2021-41196 — Crash in `max_pool3d` when size argument is 0 or negative
TensorFlow is an open source platform for machine learning. In affected versions the Keras pooling layers can trigger a segfault if the size of the pool is 0 or if a dimension is negative. This is due to the TensorFlow's implementation of pooling operations where the values in the sliding window are not checked to be strictly positive. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
5.5
MEDIUM
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 5.5 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-191
References
3 on the record
- github.com/tensorflow/tensorflow/security/advisories/GHSA-m539-j985-hcr8
x_refsource_CONFIRM
- github.com/tensorflow/tensorflow/issues/51936
x_refsource_MISC
- github.com/tensorflow/tensorflow/commit/12b1ff82b3f26ff8de17e58703231d5a02ef1b8b
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2014-0497 Adobe Flash Player Integer Underflow VulnerablityCVSS 9.8 · CISA KEV
- CVE-2021-31956 Microsoft Windows NTFS Privilege Escalation VulnerabilityCVSS 9.3 · CISA KEV
- CVE-2022-0185 Linux Kernel Heap-Based Buffer Overflow VulnerabilityCVSS 8.4 · CISA KEV
- CVE-2026-122992 In G4KLX DStarGateway and F4FXL DStarGateway before 7b75de6, dstarCallsignToAPRS in APRSUtils.cpp has an integer underflow via an empty…CVSS 9.2
- CVE-2026-42980 NT OS Kernel Elevation of Privilege VulnerabilityCVSS 7.8
- CVE-2026-127072 Integer Underflow (Wrap or Wraparound) in CODESYS ControlCVSS 7.5
Elsewhere on this site
- Tensorflowevery CVE for this vendor
- CWE-191other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.