CVE-2023-25675
Google Tensorflow ≤ 2.12.0
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2023-25675 is a high-severity Incorrect Comparison (CWE-697) vulnerability in Google Tensorflow. Its CVSS base score is 7.5 (High).
Operationally, ranked at the 34th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
This vulnerability is AI-related — categorised as Deep Learning Frameworks.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-0933
Vulnerability Data
TensorFlow is an open source machine learning platform. When running versions prior to 2.12.0 and 2.11.1 with XLA, `tf.raw_ops.Bincount` segfaults when given a parameter `weights` that is neither the same shape as parameter `arr` nor a length-0 tensor. A fix…
more
is included in TensorFlow 2.12.0 and 2.11.1.
- CWE(s)
AI Security AnalysisAI
- AI Category
- Deep Learning Frameworks
- Risk Domain
- N/A
- OWASP Top 10 for LLMs 2025
- None mapped
- Classification Reason
- Matched keywords: tensorflow, machine learning, tensorflow
Related Threats
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can detect incorrect comparison flaws before deployment.
Training raises developer awareness of common comparison pitfalls (wrong boolean operators, missing factors, non-constant-time checks, using attacker-controlled lengths), reducing a minority of instances, but the defect lives in the code itself and fallible human practice cannot prevent most of it.
Secure coding standards directly address avoiding incorrect comparison operators and logic.
A.8.30 carries secure coding practice (8.28) into the supplier relationship via contractual requirements, which reduces the incidence of implementation-phase code defects like incorrect comparisons, but the effect is mediated through a fallible human practice and the clause's own ceiling on this verb is partial.
Hardening callouts derived
DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.
- No fine-grained STIG row for CWE-697, a pillar-level weakness, and none of its children carries one either.