CVE-2007-5240

CVE-2007-5240 is a medium-severity vulnerability in Sun Jdk with a CVSS 2.0 base score of 5.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.

Key facts

Description

Visual truncation vulnerability in the Java Runtime Environment in Sun JDK and JRE 6 Update 2 and earlier, JDK and JRE 5.0 Update 12 and earlier, SDK and JRE 1.4.2_15 and earlier, and SDK and JRE 1.3.1_20 and earlier allows remote attackers to circumvent display of the untrusted-code warning banner by creating a window larger than the workstation screen.

Frequently asked questions

What is CVE-2007-5240?
Visual truncation vulnerability in the Java Runtime Environment in Sun JDK and JRE 6 Update 2 and earlier, JDK and JRE 5.0 Update 12 and earlier, SDK and JRE 1.4.2_15 and earlier, and SDK and JRE 1.3.1_20 and earlier allows remote attackers to circumvent display of the untrusted-code warning banner by creating a window larger than the workstation screen.
How severe is CVE-2007-5240?
CVE-2007-5240 has a CVSS 2.0 base score of 5.0, rated medium severity.
Is CVE-2007-5240 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (86th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2007-5240?
CVE-2007-5240 primarily affects Sun Jdk. In total, 64 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2007-5240?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2007-5240 published?
CVE-2007-5240 was published on 2007-10-06 and last updated on 2026-06-16.

References

Affected products (64)

More vulnerabilities in Sun Jdk

All CVEs affecting Sun Jdk →