CVE-2023-52304
Python vulnerability analysis and mitigation

Overview

A stack overflow vulnerability was identified in the paddle.searchsorted function of PaddlePaddle versions before 2.6.0. The vulnerability was assigned CVE-2023-52304 and was discovered by Tong Liu of CAS-IIE. This security flaw was disclosed on January 3, 2024, affecting the PaddlePaddle machine learning framework (Vendor Advisory).

Technical details

The vulnerability is classified as an Out-of-bounds Write (CWE-787) and Buffer Copy without Checking Size of Input (CWE-120). It received a CVSS v3.1 base score of 9.8 (CRITICAL) from NIST with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, while Baidu assessed it with a score of 8.2 (HIGH) and vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:L (NVD).

Impact

The vulnerability can lead to a denial of service condition or potentially more severe consequences when invalid shapes cause stack buffer overflow in the paddle.searchsorted function (NVD).

Mitigation and workarounds

The vulnerability has been patched in PaddlePaddle version 2.6.0. The fix was implemented in commit 19da5c0c4d8c5e4dfef2a92e24141c3f51884dcc. Users are advised to upgrade to version 2.6.0 or later to address this security issue (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-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