Home / Apple / Safari / CVE-2008-2540
CVE-2008-2540: is it exploited, and which versions of Apple Safari are affected and fixed?
CVE-2008-2540 is a vulnerability in Apple Safari. 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, 09:08 UTC). Affected: safari before 3.1.2 (NVD). Fixed in 3.1.2 (NVD). Severity: High (9.3, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:52 UTC.
What is CVE-2008-2540?
Apple Safari on Mac OS X, and before 3.1.2 on Windows, does not prompt the user before downloading an object that has an unrecognized content type, which allows remote attackers to place malware into the (1) Desktop directory on Windows or (2) Downloads directory on Mac OS X, and subsequently allows remote attackers to execute arbitrary code on Windows by leveraging an untrusted search path vulnerability in (a) Internet Explorer 7 on Windows XP or (b) the SearchPath function in Windows XP, Vista, and Server 2003 and 2008, aka a "Carpet Bomb" and a "Blended Threat Elevation of Privilege Vulnerability," a different issue than CVE-2008-1032. NOTE: Apple considers this a vulnerability only because the Microsoft products can load application libraries from the desktop and, as of 20080619, has not covered the issue in an advisory for Mac OS X.
From the CVE record by mitre, last updated August 7, 2024, 09:05 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apple | safari | before 3.1.2 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:53 UTC.
How severe is CVE-2008-2540?
| 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-2008-2540 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 8.31% probability of exploitation activity in the next 30 days, percentile 95.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- 30467 third-party-advisory, x_refsource_SECUNIA
- ADV-2009-1028 vdb-entry, x_refsource_VUPEN
- 1022047 vdb-entry, x_refsource_SECTRACK
- 1020150 vdb-entry, x_refsource_SECTRACK
- 29445 vdb-entry, x_refsource_BID
- http://www.microsoft.com/technet/security/advisory/953818.mspx x_refsource_MISC
- ADV-2009-1029 vdb-entry, x_refsource_VUPEN
- TA09-104A third-party-advisory, x_refsource_CERT
- oval:org.mitre.oval:def:8509 vdb-entry, signature, x_refsource_OVAL
- http://blogs.zdnet.com/security/?p=1230 x_refsource_MISC
- http://support.nortel.com/go/main.jsp?cscat=BLTNDETAIL&id=871138 x_refsource_CONFIRM
- MS09-014 vendor-advisory, x_refsource_MS
- http://www.dhanjani.com/archives/2008/05/safari_carpet_bomb.html x_refsource_MISC
- APPLE-SA-2008-06-19 vendor-advisory, x_refsource_APPLE
- http://aviv.raffon.net/2008/05/31/SafariPwnsInternetExplorer.aspx x_refsource_MISC
- oval:org.mitre.oval:def:5782 vdb-entry, signature, x_refsource_OVAL
- apple-safari-windows-code-execution(42765) vdb-entry, x_refsource_XF
- MS09-015 vendor-advisory, x_refsource_MS
- oval:org.mitre.oval:def:6108 vdb-entry, signature, x_refsource_OVAL
- http://support.avaya.com/elmodocs2/security/ASA-2009-133.htm x_refsource_CONFIRM
- ADV-2008-1706 vdb-entry, x_refsource_VUPEN
When was it published, and where is the official record?
- Reserved
- June 3, 2008
- Published
- June 3, 2008, 15:00 UTC
- CVE record updated
- August 7, 2024, 09:05 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:53 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:52 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Safari?
- Dec 17, 2025CVE-2025-43529 Apple Safari: use after free exploited
- Nov 5, 2025CVE-2023-43000 Apple macOS: use after free exploited
- Jul 29, 2025CVE-2025-31277 Apple Safari: memory corruption (buffer overflow) exploited
- Mar 11, 2025CVE-2025-24201 Apple Safari: out-of-bounds write (memory corruption) exploited
- Nov 19, 2024CVE-2024-44309 Apple Safari: cross-site scripting (XSS) exploited
- Nov 19, 2024CVE-2024-44308 Apple Safari: Processing maliciously crafted web content may lead to arbitrary code execution. Apple is aware of a report that this is exploited
- May 13, 2024CVE-2024-27834 Apple Safari: authentication bypass (improper authentication) exploited
- Jan 23, 2024CVE-2024-23222 Apple Safari: type confusion exploited
Questions about CVE-2008-2540
Is CVE-2008-2540 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 8.31% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apple Safari are affected by CVE-2008-2540?
safari before 3.1.2, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2008-2540?
3.1.2, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2008-2540?
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-2008-2540?
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.