CVE-2021-29529
Python vulnerability analysis and mitigation

Overview

CVE-2021-29529 is a vulnerability in TensorFlow, an end-to-end open source platform for machine learning. The vulnerability was discovered in May 2021 and affects multiple versions of TensorFlow including versions up to 2.1.4, 2.2.0-2.2.3, 2.3.0-2.3.3, and 2.4.0-2.4.2. The issue allows an attacker to trigger a heap buffer overflow in the tf.raw_ops.QuantizedResizeBilinear operation by manipulating input values that cause float rounding errors (GitHub Advisory, NVD).

Technical details

The vulnerability stems from an implementation flaw in the way TensorFlow computes two integers representing the upper and lower bounds for interpolation. The issue occurs when interpolation->upper[i] becomes smaller than interpolation->lower[i] due to floating-point rounding errors. When interpolation->upper[i] is capped at in_size-1, interpolation->lower[i] can point outside of the image boundaries, resulting in a heap buffer overflow during the interpolation process (GitHub Advisory).

Impact

The vulnerability has been assessed with varying severity ratings. According to NVD's CVSS v3.1 scoring, it received a base score of 7.8 (HIGH) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, while GitHub's assessment rated it as LOW severity. The vulnerability could potentially lead to heap buffer overflow, which might result in system crashes or potential code execution (NVD).

Mitigation and workarounds

The vulnerability has been patched in TensorFlow 2.5.0. The fix was also backported to TensorFlow versions 2.4.2, 2.3.3, 2.2.3, and 2.1.4. The patch involves ensuring that interpolation->lower[i] never exceeds interpolation->upper[i] by adding additional boundary checks (GitHub Advisory, GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66423HIGH7.1
  • PythonPython
  • tryton-server
NoYesNov 30, 2025
CVE-2025-66454MEDIUM6.5
  • PythonPython
  • arcade-mcp-server
NoYesDec 02, 2025
CVE-2025-66424MEDIUM6.5
  • PythonPython
  • trytond
NoYesNov 30, 2025
CVE-2025-66422MEDIUM4.3
  • PythonPython
  • tryton-server
NoYesNov 30, 2025
CVE-2025-65858LOW3.5
  • PythonPython
  • calibreweb
NoNoDec 02, 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

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