---
id: CVE-2022-46742
aliases:
  - GHSA-gcjf-29m9-888q
  - PYSEC-2022-43063
title: PaddlePaddle vulnerable to Code Injection
summary: PaddlePaddle vulnerable to Code Injection
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
vendor: paddlepaddle
product: paddlepaddle
ecosystem: pip
affected:
  - paddlepaddle < 2.4.0
patched:
  - paddlepaddle 2.4.0
published: '2022-12-07'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:47.502979347Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-gcjf-29m9-888q'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2022-46742'
  - url: 'https://github.com/PaddlePaddle/Paddle/pull/47386'
  - url: >-
      https://github.com/PaddlePaddle/Paddle/commit/26c419ca386aeae3c461faf2b828d00b48e908eb
  - url: 'https://github.com/PaddlePaddle/Paddle'
  - url: >-
      https://github.com/PaddlePaddle/Paddle/blob/develop/security/advisory/pdsa-2022-002.md
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/paddlepaddle/PYSEC-2022-43063.yaml
tags:
  - osv
  - pip
epss: 0.01143
epssPercentile: 0.65265
ingestedAt: '2026-09-12T03:13:01.695Z'
---

## Overview

Code injection in `paddle.audio.functional.get_window` in PaddlePaddle 2.4.0-rc0 allows arbitrary code execution. A [patch](https://github.com/PaddlePaddle/Paddle/commit/26c419ca386aeae3c461faf2b828d00b48e908eb) is available on the `develop` branch of the repository and anticipated to be part of a 2.4 release.

## Affected packages

- `paddlepaddle < 2.4.0`

## Remediation

Upgrade to a patched release:

- `paddlepaddle 2.4.0`
