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, CVE).

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 (NVD).

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


SourceThis report was generated using AI

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

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