# CVE-2022-45908: PaddlePaddle vulnerable to code injection via winstr

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/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): 1.72%, higher than 78% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-11-26T00:00:00.000Z
- Modified: 2026-11-16T16:00:03.902Z
- Also known as: GHSA-83g7-8fch-p37m, PYSEC-2026-443
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

In PaddlePaddle before 2.4, paddle.audio.functional.get_window is vulnerable to code injection because it calls eval on a user-supplied winstr. This may lead to arbitrary code execution.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- paddlepaddle (PyPI): before 2.4
- paddlepaddle paddlepaddle: before 2.4

## Every score

- CISA-ADP: 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`
- GitHub: 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`
- 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`
- PyPA Advisory Database: 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-2022-002.md> (exploit, patch, third-party-advisory, web)
- <https://github.com/PaddlePaddle/Paddle/commit/26c419ca386aeae3c461faf2b828d00b48e908eb> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-45908> (advisory)
- <https://github.com/PaddlePaddle/Paddle> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/paddlepaddle/PYSEC-2026-443.yaml> (web)
- <https://pypi.org/project/paddlepaddle> (package, web)
- <https://github.com/advisories/GHSA-83g7-8fch-p37m> (advisory)

## Sources

- CVE List: [CVE-2022-45908](https://www.cve.org/CVERecord?id=CVE-2022-45908), CVE Terms of Use, modified 2025-04-25
- GitHub Advisory Database: [GHSA-83g7-8fch-p37m](https://github.com/advisories/GHSA-83g7-8fch-p37m), CC-BY-4.0, modified 2026-11-16
- NVD: [CVE-2022-45908](https://nvd.nist.gov/vuln/detail/CVE-2022-45908), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-443](https://osv.dev/vulnerability/PYSEC-2026-443), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2022-45908 · Whole record: https://cve.day/CVE-2022-45908.json · Rebuilt by cve.day 2026-11-25T22:58:17.078Z
