# CVE-2022-46742: PaddlePaddle vulnerable to Code Injection

- Severity: Critical 10.0 (CVSS:3.1, scored by Baidu) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/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.21%, higher than 69% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-07T08:16:09.365Z
- Modified: 2026-09-10T03:49:47.502Z
- Also known as: GHSA-gcjf-29m9-888q, PYSEC-2022-43063
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Baidu

## Description

Code injection in paddle.audio.functional.get_window in PaddlePaddle 2.4.0-rc0 allows arbitrary code execution.

(As written by CVE List.)

## Affected

- PaddlePaddle PaddlePaddle: 2.4.0-rc0; 2.4.0
- paddlepaddle (PyPI): before 2.4.0

## Every score

- Baidu: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/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`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- 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, advisory, evidence, fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-46742> (advisory)
- <https://github.com/PaddlePaddle/Paddle/pull/47386> (web)
- <https://github.com/PaddlePaddle/Paddle/commit/26c419ca386aeae3c461faf2b828d00b48e908eb> (web)
- <https://github.com/PaddlePaddle/Paddle> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/paddlepaddle/PYSEC-2022-43063.yaml> (web)
- <https://github.com/advisories/GHSA-gcjf-29m9-888q> (advisory)

## Sources

- CVE List: [CVE-2022-46742](https://www.cve.org/CVERecord?id=CVE-2022-46742), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-gcjf-29m9-888q](https://github.com/advisories/GHSA-gcjf-29m9-888q), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2022-46742](https://nvd.nist.gov/vuln/detail/CVE-2022-46742), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-43063](https://osv.dev/vulnerability/PYSEC-2022-43063), CC-BY-4.0, modified 2026-06-10

---

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