CVE-2025-0649: 
TensorFlow vulnerability analysis and mitigation

Overview

Incorrect JSON input stringification in Google's Tensorflow serving versions up to 2.18.0 allows for potentially unbounded recursion leading to server crash. The vulnerability was discovered and disclosed in May 2025, affecting all versions of Tensorflow serving up to version 2.18.0 (NVD, Wiz).

Technical details

The vulnerability stems from improper handling of JSON input stringification that can lead to unbounded recursion. The issue has been assigned a CVSS v4.0 base score of 8.9 HIGH with the vector string CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H. The vulnerability has been classified under CWE-121 (Stack-based Buffer Overflow) (NVD).

Impact

When exploited, this vulnerability can cause a denial of service condition through server crashes. The high availability impact (VA:H) in the CVSS score indicates that the vulnerability can significantly affect system availability (Wiz).

Exploitability

The vulnerability has a network attack vector (AV:N) with low attack complexity (AC:L), requiring no privileges (PR:N) and no user interaction (UI:N). The EPSS (Exploitation Probability) score is reported at 5, indicating a relatively low likelihood of active exploitation (Wiz).

Mitigation and workarounds

A fix has been implemented in the Tensorflow serving repository that improves the handling of large JSON requests by implementing iterative parsing and truncating large JSON strings to a fixed size when composing error messages (Github Commit).

Additional resources


Source: This report was generated using AI

Related TensorFlow vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-21441HIGH8.9
  • PostgreSQL logoPostgreSQL
  • ubi9::python-39
NoYesJan 07, 2026
CVE-2025-0649HIGH8.9
  • TensorFlow logoTensorFlow
  • tensorflow
NoNoMay 06, 2025
CVE-2025-55559HIGH7.5
  • TensorFlow logoTensorFlow
  • cpe:2.3:a:google:tensorflow
NoNoSep 25, 2025
CVE-2026-2492HIGH7
  • TensorFlow logoTensorFlow
  • tensorflow
NoYesFeb 20, 2026
CVE-2025-55556MEDIUM6.5
  • TensorFlow logoTensorFlow
  • cpe:2.3:a:google:tensorflow
NoNoSep 25, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management