CVE-2023-38678 Segfault in paddle.mode

Medium 4.7 Published Updated

An out-of-bounds access in PaddlePaddle's mode function allows attackers to cause a runtime crash and 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-38678?

CVE-2023-38678 is a medium-severity memory corruption vulnerability in PaddlePaddle, published on 3 Jan 2024. 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

OOB access in paddle.mode in PaddlePaddle before 2.6.0. This flaw can cause a runtime crash and a denial of service.

Weakness: CWE-125

Which versions are affected by CVE-2023-38678?

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

PackageAffectedFixed in
paddlepaddle PyPIAll versions2.6.0
paddlepaddle PyPIAll versions2.6.0
PaddlePaddle PyPIAll versions2.6.0

Products include Paddlepaddle Paddlepaddle.

How do I fix CVE-2023-38678?

Upgrade paddlepaddle to 2.6.0 or later.

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

Is CVE-2023-38678 being exploited?

There is no known exploitation of CVE-2023-38678 in the wild and no public exploit code.

Sources

Also known as GHSA-mr78-v55p-7777, PYSEC-2024-133.

Is CVE-2023-38678 in your software?

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

Check your SBOMs for free