CVE-2024-0142 Memory corruption in nvJPEG2000

Medium 6.8 Published Updated

An attacker can achieve code execution and data tampering via a crafted JPEG2000 file exploiting an out-of-bounds write in the NVIDIA nvJPEG2000 library.

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
None listed

What is CVE-2024-0142?

CVE-2024-0142 is a medium-severity memory corruption vulnerability in NVIDIA nvJPEG2000, published on 12 Feb 2025. 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

NVIDIA nvJPEG2000 library contains a vulnerability where an attacker can cause an out-of-bounds write issue by means of a specially crafted JPEG2000 file. A successful exploit of this vulnerability might lead to code execution and data tampering.

Weakness: CWE-787

Which versions are affected by CVE-2024-0142?

How do I fix CVE-2024-0142?

No fix has been published for CVE-2024-0142 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2024-0142 being exploited?

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

Sources

Also known as GHSA-h2rf-rp8h-fq2p.

Is CVE-2024-0142 in your software?

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

Check your SBOMs for free