CVE-2023-52313
Python vulnerability analysis and mitigation

Overview

CVE-2023-52313 is a floating-point exception (FPE) vulnerability discovered in PaddlePaddle's paddle.argmin and paddle.argmax functions affecting versions before 2.6.0. The vulnerability was reported by Peng Zhou (zpbrent) from Shanghai University and was disclosed on January 3, 2024 (NVD, Paddle Advisory).

Technical details

The vulnerability occurs when the input tensor's numel() (number of elements) is 0, triggering a floating-point exception in the argmin and argmax functions. The issue is classified as CWE-369 (Divide By Zero). The CVSS v3.1 base score is 7.5 HIGH according to NVD's assessment, with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability can cause a runtime crash and lead to a denial of service condition, potentially affecting the availability of systems using the affected PaddlePaddle versions (NVD).

Mitigation and workarounds

The vulnerability has been patched in commit 41eda9080b12e6f1b3a49cdc8439a1b9f1ed6794 and the fix is included in PaddlePaddle version 2.6.0. Users are advised to upgrade to this version or later to address the vulnerability (Paddle 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-22033HIGH8.6
  • PythonPython
  • label-studio
NoNoJan 12, 2026
CVE-2025-68472HIGH8.1
  • PythonPython
  • mindsdb
NoYesJan 12, 2026
CVE-2026-22251MEDIUM5.3
  • PythonPython
  • wlc
NoYesJan 12, 2026
CVE-2026-22691LOW2.7
  • PythonPython
  • pypdf2
NoYesJan 10, 2026
CVE-2026-22250LOW2.5
  • PythonPython
  • wlc
NoYesJan 12, 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