CVE-2023-38669 Use after free in PaddlePaddle

High 8.3 Published Updated

A use-after-free flaw in PaddlePaddle's diagonal function allows attackers to potentially execute arbitrary code or cause a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-38669?

CVE-2023-38669 is a high-severity use after free vulnerability in PaddlePaddle, published on 26 Jul 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Use after free in paddle.diagonal in PaddlePaddle before 2.5.0. This resulted in a potentially exploitable condition.

Weakness: CWE-416

Which versions are affected by CVE-2023-38669?

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

PackageAffectedFixed in
paddlepaddle PyPIAll versions2.5.0
paddlepaddle PyPIAll versions2.5.0
paddlepaddle PyPIAll versions2.5.0

Products include Paddlepaddle Paddlepaddle.

How do I fix CVE-2023-38669?

Upgrade paddlepaddle to 2.5.0 or later.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2023-38669 being exploited?

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

Sources

Also known as GHSA-8wfh-qxxv-3q8c, PYSEC-2023-122.

Is CVE-2023-38669 in your software?

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

Check your SBOMs for free