CVE-2023-52307
Python vulnerability analysis and mitigation

Overview

A stack overflow vulnerability was identified in PaddlePaddle's paddle.linalg.lu_unpack function, affecting versions before 2.6.0. The vulnerability was assigned CVE-2023-52307 and was discovered by Tong Liu of CAS-IIE. The issue was disclosed on January 3, 2024 (NVD, Vendor Advisory).

Technical details

The vulnerability occurs when invalid shapes cause a stack buffer overflow in the paddle.linalg.lu_unpack function. The issue has been assigned a CVSS v3.1 base score of 9.8 CRITICAL (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) by NIST NVD, while Baidu assessed it with a score of 8.2 HIGH (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:L). The vulnerability is classified as CWE-787 (Out-of-bounds Write) by NIST and CWE-120 (Buffer Copy without Checking Size of Input) by Baidu (NVD).

Impact

This vulnerability can lead to a denial of service condition, or potentially cause more severe damage to the affected system. The high CVSS scores indicate critical severity with potential for complete system compromise (NVD).

Mitigation and workarounds

The vulnerability has been patched in commit 10093636a10f29f73f13729b33570d8cafd58fb6 and is included in PaddlePaddle version 2.6.0. Users are advised to upgrade to this version or later to mitigate the vulnerability (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-22612HIGH8.9
  • PythonPython
  • fickling
NoYesJan 10, 2026
CVE-2026-22609HIGH8.9
  • PythonPython
  • fickling
NoYesJan 10, 2026
CVE-2026-22608HIGH8.9
  • PythonPython
  • fickling
NoYesJan 10, 2026
CVE-2026-22691LOW2.7
  • PythonPython
  • pypdf
NoYesJan 10, 2026
CVE-2026-22690LOW2.7
  • PythonPython
  • pypdf
NoYesJan 10, 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