HOMEVULNERABILITIESCVE-2007-5240
MEDIUM

CVE-2007-5240

NVD-CWE-OtherPublished: October 6, 2007· Updated: Jun 16, 2026

5.0
CVSS v3.1

Official 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.

NVD Source

Technical Analysis

CVE-2007-5240 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityNone
IntegrityP
AvailabilityNone
AV:N/AC:L/Au:N/C:N/I:P/A:N

Affected Vendors & Products

sun3 product(s)
jdkjresdk
Source: NVD CPE · 35 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (82)

Quick Facts

CVE IDCVE-2007-5240
CVSS Score5.0 / 10
SeverityMEDIUM
CISA KEVNo
Affected1 vendor(s)
PublishedOct 6, 2007

Related CVEs (NVD-CWE-Other)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2007-5240 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.