CVE-2022-46741 PaddlePaddle Out-of-bounds Read vulnerability

High 7.1 Published Updated

An out-of-bounds read in PaddlePaddle allows attackers to cause denial of service or disclose sensitive memory contents.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-46741?

CVE-2022-46741 is a high-severity memory corruption vulnerability in PaddlePaddle, published on 7 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Out-of-bounds read in gather_tree in PaddlePaddle before 2.4.

Weakness: CWE-125

Which versions are affected by CVE-2022-46741?

3 open source packages ship an affected version, including paddlepaddle. It affects 1 product.

PackageAffectedFixed in
paddlepaddle PyPIAll versions2.4
paddlepaddle PyPIAll versions2.4
paddlepaddle PyPIAll versions2.4

Products include Paddlepaddle Paddlepaddle.

How do I fix CVE-2022-46741?

Upgrade paddlepaddle to 2.4 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-46741 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-46741 exists.

Sources

Also known as GHSA-2hvc-hwg3-hpvw, PYSEC-2026-441.

Is CVE-2022-46741 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free