CVE-2023-52306
Python vulnerability analysis and mitigation

Overview

A floating-point exception (FPE) vulnerability was discovered in paddle.lerp function in PaddlePaddle versions before 2.6.0. The vulnerability was assigned CVE-2023-52306 and was reported by Tong Liu of CAS-IIE (Vendor Advisory).

Technical details

The vulnerability occurs in the paddle.lerp function when tensor shape is invalid. It has been assigned a CVSS v3.1 base score of 7.5 HIGH (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) by NIST NVD, while Baidu assessed it as 4.7 MEDIUM (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:L). The vulnerability is classified as CWE-369 (Divide By Zero) (NVD).

Impact

This vulnerability can cause a runtime crash and a denial of service when exploited (NVD).

Exploitability

The vulnerability can be triggered by providing invalid tensor shapes to the paddle.lerp function. A proof of concept exploit has been published that demonstrates the issue using random uniform tensors with specific shapes (Vendor Advisory).

Mitigation and workarounds

The vulnerability has been patched in commit 19da5c0c4d8c5e4dfef2a92e24141c3f51884dcc and the fix is included in PaddlePaddle version 2.6.0. Users are advised to upgrade to this version or later (Vendor Advisory).

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-2026-61539CRITICAL10
  • Python logoPython
  • xinference
NoYesAug 21, 2026
CVE-2026-49360HIGH7.8
  • Python logoPython
  • recce
NoYesAug 21, 2026
CVE-2026-68508HIGH7.8
  • Python logoPython
  • hydra-core
NoYesAug 21, 2026
CVE-2026-54457HIGH7.7
  • Python logoPython
  • tensorzero
NoYesAug 21, 2026
CVE-2026-43980MEDIUM6.3
  • Python logoPython
  • malla
NoNoAug 21, 2026

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