Home / Sun / Jdk / CVE-2007-3504
CVE-2007-3504: is it exploited, and which versions of Sun Jdk are affected and fixed?
CVE-2007-3504 is a path traversal (reading or writing files outside the intended folder) 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, 08:08 UTC). Affected: jdk through 1.5.0, jre through 1.4.2, jre through 1.5.0 and 1 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (9.3, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:52 UTC.
What is CVE-2007-3504?
Directory traversal vulnerability in the PersistenceService in Sun Java Web Start in JDK and JRE 5.0 Update 11 and earlier, and Java Web Start in SDK and JRE 1.4.2_13 and earlier, for Windows allows remote attackers to perform unauthorized actions via an application that grants file overwrite privileges to itself. NOTE: this can be leveraged to execute arbitrary code by overwriting a .java.policy file.
From the CVE record by mitre, last updated August 7, 2024, 14:21 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| sun | jdk | through 1.5.0 | application |
| sun | jre | through 1.4.2 | application |
| sun | jre | through 1.5.0 | application |
| sun | sdk | through 1.4.2_13 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:42 UTC.
How severe is CVE-2007-3504?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 9.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:C/I:C/A:C | 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-3504 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 6.42% probability of exploitation activity in the next 30 days, percentile 93.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- ADV-2007-2384 vdb-entry, x_refsource_VUPEN
- http://docs.info.apple.com/article.html?artnum=307177 x_refsource_MISC
- 1018328 vdb-entry, x_refsource_SECTRACK
- 37755 vdb-entry, x_refsource_OSVDB
- javaweb-javapolicy-code-execution(35169) vdb-entry, x_refsource_XF
- APPLE-SA-2007-12-14 vendor-advisory, x_refsource_APPLE
- ADV-2007-4224 vdb-entry, x_refsource_VUPEN
- 25823 third-party-advisory, x_refsource_SECUNIA
- 102957 vendor-advisory, x_refsource_SUNALERT
- 28115 third-party-advisory, x_refsource_SECUNIA
- 20070702 High Risk Flaw in Sun's Java Web Start mailing-list, x_refsource_BUGTRAQ
- 24695 vdb-entry, x_refsource_BID
When was it published, and where is the official record?
- Reserved
- June 29, 2007
- Published
- June 30, 2007, 01:00 UTC
- CVE record updated
- August 7, 2024, 14:21 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:42 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:52 UTC; KEV December 3, 2026, 08:08 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-3504
Is CVE-2007-3504 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:08 UTC. FIRST's EPSS gives it a 6.42% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Sun Jdk are affected by CVE-2007-3504?
jdk through 1.5.0, jre through 1.4.2, jre through 1.5.0 and sdk through 1.4.2_13, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2007-3504?
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-3504?
High (9.3, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2007-3504?
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.