CVE-2012-3358 Memory corruption in n/a

Critical 10.0 Published Updated

Remote attackers can cause denial of service or execute arbitrary code via crafted JPEG 2000 files exploiting heap overflows in OpenJPEG.

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-2012-3358?

CVE-2012-3358 is a critical memory corruption vulnerability in Uclouvain Openjpeg, published on 18 Jul 2012. 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

Multiple heap-based buffer overflows in the j2k_read_sot function in j2k.c in OpenJPEG 1.5 allow remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a crafted (1) tile number or (2) tile length in a JPEG 2000 image file.

Weakness: CWE-119

Which versions are affected by CVE-2012-3358?

It affects 1 product.

Products include Uclouvain Openjpeg.

How do I fix CVE-2012-3358?

Upgrade to a fixed version.

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

Is CVE-2012-3358 being exploited?

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

All Uclouvain Openjpeg vulnerabilities

Sources

Also known as GHSA-2m5h-fr2p-prrm.

Is CVE-2012-3358 in your software?

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

Check your SBOMs for free