Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
4.3

CVE-2007-2789: Sun Java JDK/JRE BMP parser can freeze JVM

CVE-2007-2789 · published 19 years ago
Summary

The BMP image handling code in older Sun Java Development Kit and Runtime Environment versions on Unix/Linux can be tricked by a specially crafted BMP file into hanging the Java virtual machine. This means a malicious applet or program could stop Java applications from running. Update to the latest Java releases or avoid running untrusted Java applets to prevent the issue.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
sun jdk 1.5.0
1.6.0
cpe:2.3:a:sun:jdk:1.5.0:-:*:*:*:*:*:*
sun jre 1.3.1
1.3.1_2
1.3.1_03
1.3.1_04
1.3.1_05
1.3.1_06
1.3.1_07
1.3.1_08
1.3.1_09
1.3.1_10
1.3.1_11
1.3.1_12
24 more version ranges
cpe:2.3:a:sun:jre:1.3.1:-:*:*:*:*:*:*
sun sdk 1.3.1
1.3.1_01
1.3.1_01a
1.3.1_02
1.3.1_03
1.3.1_04
1.3.1_05
1.3.1_06
1.3.1_07
1.3.1_08
1.3.1_09
1.3.1_10
24 more version ranges
cpe:2.3:a:sun:sdk:1.3.1:*:*:*:*:*:*:*
Original advisory text
The BMP image parser in Sun Java Development Kit (JDK) before 1.5.0_11-b03 and 1.6.x before 1.6.0_01-b06, and Sun Java Runtime Environment in JDK and JRE 6, JDK and JRE 5.0 Update 10 and earlier, S...
The BMP image parser in Sun Java Development Kit (JDK) before 1.5.0_11-b03 and 1.6.x before 1.6.0_01-b06, and Sun Java Runtime Environment in JDK and JRE 6, JDK and JRE 5.0 Update 10 and earlier, SDK and JRE 1.4.2_14 and earlier, and SDK and JRE 1.3.1_19 and earlier, when running on Unix/Linux systems, allows remote attackers to cause a denial of service (JVM hang) via untrusted applets or applications that open arbitrary local files via a crafted BMP file, such as /dev/tty.
References
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit (estimated)
  • Gives an attacker partial control (estimated)
Severity
4.3 Medium
Exploitation
3% chance of attack within 30 days
Type
CWE-399Resource Management Errors
Timeline
Published22 May 2007
Updated4 Nov 2026
First seen29 Sep 2026
Sources
CVE-2007-2789 · NVD
Track software like this
Free during beta