---
id: CVE-2022-46741
aliases:
  - GHSA-2hvc-hwg3-hpvw
  - PYSEC-2026-441
title: PaddlePaddle Out-of-bounds Read vulnerability
summary: PaddlePaddle Out-of-bounds Read vulnerability
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H'
vendor: paddlepaddle
product: paddlepaddle
ecosystem: pip
affected:
  - paddlepaddle < 2.4
patched:
  - paddlepaddle 2.4
published: '2022-12-07'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:50.189042924Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-2hvc-hwg3-hpvw'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2022-46741'
  - url: 'https://github.com/PaddlePaddle/Paddle/pull/47051'
  - url: >-
      https://github.com/PaddlePaddle/Paddle/commit/6712e262fc6734873cc6d5ca4f45973339a88697
  - url: >-
      https://github.com/PaddlePaddle/Paddle/commit/ee6e6d511f9f33fc862c11722701fb5abb99ed94
  - url: 'https://github.com/PaddlePaddle/Paddle'
  - url: >-
      https://github.com/PaddlePaddle/Paddle/blob/develop/security/advisory/pdsa-2022-001.md
tags:
  - osv
  - pip
epss: 0.0068
epssPercentile: 0.50992
ingestedAt: '2026-09-12T03:13:01.637Z'
---

## Overview

Out-of-bounds read in `gather_tree` in PaddlePaddle before 2.4. A [patch](https://github.com/PaddlePaddle/Paddle/commit/6712e262fc6734873cc6d5ca4f45973339a88697) is available in the `release/2.4` branch.

## Affected packages

- `paddlepaddle < 2.4`

## Remediation

Upgrade to a patched release:

- `paddlepaddle 2.4`
