CVE-2023-52312
Python vulnerability analysis and mitigation

Overview

A null pointer dereference vulnerability was discovered in PaddlePaddle's paddle.crop functionality, identified as CVE-2023-52312. The vulnerability affects versions before 2.6.0 and was disclosed on January 3, 2024. When tensor dimensions are invalid, this vulnerability can trigger a runtime crash (NVD, Paddle Advisory).

Technical details

The vulnerability is classified as CWE-476 (NULL Pointer Dereference) and has received a CVSS v3.1 base score of 7.5 HIGH from NIST NVD, while Baidu Inc. assessed it at 4.7 MEDIUM. The issue occurs specifically in the paddle.crop function when processing invalid tensor dimensions. The vulnerability can be triggered by providing specific invalid input parameters to the crop function (NVD).

Impact

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

Mitigation and workarounds

The vulnerability has been patched in PaddlePaddle version 2.6.0 with commit c074de6911944d5d30d28cc7ce2c7099f1c87bce. Users are recommended to upgrade to version 2.6.0 or later to address this security issue (Paddle Advisory).

Community reactions

The vulnerability was initially reported by Peng Zhou (zpbrent) from Shanghai University (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