---
id: CVE-2023-38671
aliases:
  - GHSA-hh7p-hvm3-rg88
  - PYSEC-2023-124
title: Heap buffer overflow in PaddlePaddle
summary: Heap buffer overflow in PaddlePaddle
severity: high
cvss: 8.3
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H'
vendor: paddlepaddle
product: paddlepaddle
ecosystem: pip
affected:
  - paddlepaddle < 2.5.0
patched:
  - paddlepaddle 2.5.0
published: '2023-07-26'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:42.632578286Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-hh7p-hvm3-rg88'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-38671'
  - url: >-
      https://github.com/PaddlePaddle/Paddle/commit/12549dfe3e87a4c30f852d2eca81d7f67c8daa87
  - url: 'https://github.com/PaddlePaddle/Paddle'
  - url: >-
      https://github.com/PaddlePaddle/Paddle/blob/develop/security/advisory/pdsa-2023-003.md
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/paddlepaddle/PYSEC-2023-124.yaml
tags:
  - osv
  - pip
epss: 0.00756
epssPercentile: 0.53681
ingestedAt: '2026-09-12T03:13:01.700Z'
---

## Overview

Heap buffer overflow in paddle.trace in PaddlePaddle before 2.5.0. This flaw can lead to a denial of service, information disclosure, or more damage is possible.


## Affected packages

- `paddlepaddle < 2.5.0`

## Remediation

Upgrade to a patched release:

- `paddlepaddle 2.5.0`
