CVE-2004-2540 Denial of service in n/a

Medium 5.0 Published Updated

Remote attackers can cause a denial of service in the Java Virtual Machine by sending crafted serialized data, affecting Java Runtime Environment and SDK users.

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

What is CVE-2004-2540?

CVE-2004-2540 is a medium-severity denial of service vulnerability in Sun Jdk, published on 16 Nov 2005. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

readObject in (1) Java Runtime Environment (JRE) and (2) Software Development Kit (SDK) 1.4.0 through 1.4.2_05 allows remote attackers to cause a denial of service (JVM unresponsive) via crafted serialized data.

Which versions are affected by CVE-2004-2540?

It affects 2 products.

Products include Sun Jdk, Sun Jre.

How do I fix CVE-2004-2540?

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

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2004-2540 being exploited?

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

All Sun Jdk vulnerabilities

Sources

Also known as GHSA-h2mv-7266-r4gv.

Is CVE-2004-2540 in your software?

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

Check your SBOMs for free