CVE-2004-2540: Sun JDK
Medium severity, CVSS 5.0. EPSS: 2.5% chance of exploitation in the next 30 days.
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.
Affected products
- Sun JDK: version 1.4 only; version 1.4.0_01 only; version 1.4.0_02 only; version 1.4.0_03 only; version 1.4.0_4 only; version 1.4.1 only; …
- Sun JRE: version 1.4 only; version 1.4.0_01 only; version 1.4.0_02 only; version 1.4.0_03 only; version 1.4.0_04 only; version 1.4.1 only; …
Published 2004-12-31. Last modified 2026-06-16.