Home / Sun / Jdk / CVE-2007-5240
CVE-2007-5240: is it exploited, and which versions of Sun Jdk are affected and fixed?
CVE-2007-5240 is a vulnerability in Sun Jdk. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: jdk 1.5.0, jdk 1.6.0, jre 1.3.0 and 32 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:52 UTC.
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.
From the CVE record by mitre, last updated August 7, 2024, 15:24 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| sun | jdk | 1.5.0 | application |
| sun | jdk | 1.6.0 | application |
| sun | jre | 1.3.0 | application |
| sun | jre | 1.3.1 | application |
| sun | jre | 1.4 | application |
| sun | jre | 1.4.1 | application |
| sun | jre | 1.4.2 | application |
| sun | jre | 1.4.2_1 | application |
| sun | jre | 1.4.2_3 | application |
| sun | jre | 1.4.2_8 | application |
| sun | jre | 1.4.2_9 | application |
| sun | jre | 1.4.2_10 | application |
| sun | jre | 1.4.2_11 | application |
| sun | jre | 1.4.2_12 | application |
| sun | jre | 1.4.2_13 | application |
| sun | jre | 1.4.2_14 | application |
| sun | jre | 1.4.2_15 | application |
| sun | jre | 1.5.0 | application |
| sun | jre | 1.6.0 | application |
| sun | sdk | 1.3.1_01 | application |
| sun | sdk | 1.3.1_01a | application |
| sun | sdk | 1.3.1_16 | application |
| sun | sdk | 1.3.1_18 | application |
| sun | sdk | 1.3.1_19 | application |
| sun | sdk | 1.3.1_20 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:45 UTC.
How severe is CVE-2007-5240?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2007-5240 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.96% probability of exploitation activity in the next 30 days, percentile 87.6 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- RHSA-2008:0132 vendor-advisory, x_refsource_REDHAT
- RHSA-2007:1041 vendor-advisory, x_refsource_REDHAT
- ADV-2007-3895 vdb-entry, x_refsource_VUPEN
- 30676 third-party-advisory, x_refsource_SECUNIA
- 29042 third-party-advisory, x_refsource_SECUNIA
- 27693 third-party-advisory, x_refsource_SECUNIA
- http://support.novell.com/techcenter/psdb/0c36b6416afc3868b8b1b9012955e323.html x_refsource_CONFIRM
- SUSE-SA:2007:055 vendor-advisory, x_refsource_SUSE
- 31586 third-party-advisory, x_refsource_SECUNIA
- http://download.novell.com/Download?buildid=q5exhSqeBjA~ x_refsource_CONFIRM
- sun-javawarning-weak-security(36942) vdb-entry, x_refsource_XF
- 1018769 vdb-entry, x_refsource_SECTRACK
- 29897 third-party-advisory, x_refsource_SECUNIA
- 27206 third-party-advisory, x_refsource_SECUNIA
- 27804 third-party-advisory, x_refsource_SECUNIA
- GLSA-200804-28 vendor-advisory, x_refsource_GENTOO
- HPSBUX02284 vendor-advisory, x_refsource_HP
- 29858 third-party-advisory, x_refsource_SECUNIA
- RHSA-2007:0963 vendor-advisory, x_refsource_REDHAT
- 25918 vdb-entry, x_refsource_BID
- RHSA-2008:0100 vendor-advisory, x_refsource_REDHAT
- ADV-2008-0609 vdb-entry, x_refsource_VUPEN
- oval:org.mitre.oval:def:10783 vdb-entry, signature, x_refsource_OVAL
- SUSE-SA:2008:025 vendor-advisory, x_refsource_SUSE
- 27261 third-party-advisory, x_refsource_SECUNIA
- 20071029 FLEA-2007-0061-1 sun-jre sun-jdk mailing-list, x_refsource_BUGTRAQ
- 28777 third-party-advisory, x_refsource_SECUNIA
- 103071 vendor-advisory, x_refsource_SUNALERT
- RHSA-2008:0156 vendor-advisory, x_refsource_REDHAT
- BEA08-198.00 vendor-advisory, x_refsource_BEA
- http://support.novell.com/docs/Readmes/InfoDocument/patchbuilder/readme_5033642.html x_refsource_CONFIRM
- 30780 third-party-advisory, x_refsource_SECUNIA
- 28880 third-party-advisory, x_refsource_SECUNIA
- 27716 third-party-advisory, x_refsource_SECUNIA
- ADV-2008-1856 vdb-entry, x_refsource_VUPEN
- http://www.vmware.com/security/advisories/VMSA-2008-0010.html x_refsource_CONFIRM
- 29214 third-party-advisory, x_refsource_SECUNIA
- 29340 third-party-advisory, x_refsource_SECUNIA
- GLSA-200804-20 vendor-advisory, x_refsource_GENTOO
- GLSA-200806-11 vendor-advisory, x_refsource_GENTOO
- 31580 third-party-advisory, x_refsource_SECUNIA
When was it published, and where is the official record?
- Reserved
- October 5, 2007
- Published
- October 6, 2007, 00:00 UTC
- CVE record updated
- August 7, 2024, 15:24 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:45 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:52 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Jdk?
- Oct 16, 2013CVE-2013-5852 Oracle Jre: n/a
- Oct 16, 2013CVE-2013-5850 Oracle Jre: n/a
- Oct 16, 2013CVE-2013-5849 Oracle Jre: n/a
- Oct 16, 2013CVE-2013-5840 Oracle Jdk: n/a
- Oct 16, 2013CVE-2013-5832 Oracle Jdk: n/a
- Oct 16, 2013CVE-2013-5831 Oracle Jdk: n/a
- Oct 16, 2013CVE-2013-5825 Oracle Jdk: n/a
- Oct 16, 2013CVE-2013-5824 Oracle Jdk: n/a
Questions about CVE-2007-5240
Is CVE-2007-5240 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 2.96% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Sun Jdk are affected by CVE-2007-5240?
jdk 1.5.0, jdk 1.6.0, jre 1.3.0, jre 1.3.1, jre 1.4, jre 1.4.1 and 29 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2007-5240?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2007-5240?
Medium (5.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2007-5240?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.