# CVE-2023-38669: Use after free in PaddlePaddle

- Severity: High 8.3 (CVSS:3.1, scored by Baidu) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.79%, higher than 53% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-07-26T09:29:39.869Z
- Modified: 2026-09-10T03:49:42.590Z
- Also known as: GHSA-8wfh-qxxv-3q8c, PYSEC-2023-122
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: Baidu

## Description

Use after free in paddle.diagonal in PaddlePaddle before 2.5.0. This resulted in a potentially exploitable condition.

(As written by CVE List.)

## Affected

- PaddlePaddle PaddlePaddle: before 2.5.0
- paddlepaddle (PyPI): before 2.5.0

## Every score

- Baidu: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/PaddlePaddle/Paddle/blob/develop/security/advisory/pdsa-2023-001.md> (exploit, advisory, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-38669> (advisory)
- <https://github.com/PaddlePaddle/Paddle/commit/43981874f5e1683b855eab871092fa9be58d6a44> (web)
- <https://github.com/PaddlePaddle/Paddle> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/paddlepaddle/PYSEC-2023-122.yaml> (web)
- <https://github.com/advisories/GHSA-8wfh-qxxv-3q8c> (advisory)

## Sources

- CVE List: [CVE-2023-38669](https://www.cve.org/CVERecord?id=CVE-2023-38669), CVE Terms of Use, modified 2024-10-22
- GitHub Advisory Database: [GHSA-8wfh-qxxv-3q8c](https://github.com/advisories/GHSA-8wfh-qxxv-3q8c), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-38669](https://nvd.nist.gov/vuln/detail/CVE-2023-38669), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-122](https://osv.dev/vulnerability/PYSEC-2023-122), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2023-38669 · Whole record: https://cve.day/CVE-2023-38669.json · Rebuilt by cve.day 2026-11-25T22:58:26.510Z
