CVE-2008-5354 Memory corruption in n/a

Critical 9.3 Published Updated

Attackers can execute arbitrary code via a malicious JAR file exploiting a stack-based buffer overflow in the Java Runtime Environment.

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-2008-5354?

CVE-2008-5354 is a critical memory corruption vulnerability in Sun Jdk, published on 5 Dec 2008. 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

Stack-based buffer overflow in Java Runtime Environment (JRE) for Sun JDK and JRE 6 Update 10 and earlier; JDK and JRE 5.0 Update 16 and earlier; and SDK and JRE 1.4.2_18 and earlier allows locally-launched and possibly remote untrusted Java applications to execute arbitrary code via a JAR file with a long Main-Class manifest entry.

Weakness: CWE-119

Which versions are affected by CVE-2008-5354?

It affects 3 products.

Products include Sun Jdk, Sun Jre, Sun Sdk.

How do I fix CVE-2008-5354?

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-2008-5354 being exploited?

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

All Sun Jdk vulnerabilities

Sources

Also known as GHSA-2q9v-v58g-5c4c.

Is CVE-2008-5354 in your software?

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

Check your SBOMs for free