CVE-2018-7648 Memory corruption in n/a

Critical 9.8 Published Updated

A buffer overflow in OpenJPEG allows attackers to execute arbitrary code or cause denial of service via a long command-line prefix.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-7648?

CVE-2018-7648 is a critical memory corruption vulnerability in Uclouvain Openjpeg, published on 2 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in mj2/opj_mj2_extract.c in OpenJPEG 2.3.0. The output prefix was not checked for length, which could overflow a buffer, when providing a prefix with 50 or more characters on the command line.

Weakness: CWE-119

Which versions are affected by CVE-2018-7648?

It affects 1 product.

Products include Uclouvain Openjpeg.

How do I fix CVE-2018-7648?

Apply the vendor's patch.

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

Is CVE-2018-7648 being exploited?

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

All Uclouvain Openjpeg vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-7648, GHSA-8pw2-vgv2-w498.

Is CVE-2018-7648 in your software?

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

Check your SBOMs for free