CVE-2007-6165

Mail in Apple Mac OS X Leopard (10.5.1) - RCE

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2007-6165. PoCs published by Metasploit, heise Security.

AI-analyzed exploit summary This Metasploit module exploits a command execution vulnerability in Mail.app on Mac OS X 10.5.0 by sending a maliciously crafted email with an image attachment containing embedded commands. The exploit leverages AppleDouble encoding to bypass security checks and execute arbitrary payloads.

Description

Mail in Apple Mac OS X Leopard (10.5.1) allows user-assisted remote attackers to execute arbitrary code via an AppleDouble attachment containing an apparently-safe file type and script in a resource fork, which does not warn the user that a separate program is going to be executed. NOTE: this is a regression error related to CVE-2006-0395.

Exploits (2)

exploitdb WORKING POC VERIFIED
by Metasploit · rubyremotemultiple
https://www.exploit-db.com/exploits/16870

This Metasploit module exploits a command execution vulnerability in Mail.app on Mac OS X 10.5.0 by sending a maliciously crafted email with an image attachment containing embedded commands. The exploit leverages AppleDouble encoding to bypass security checks and execute arbitrary payloads.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Mail.app on Mac OS X 10.5.0
No auth needed
Prerequisites: SMTP access to send emails to the target · Target must open the malicious email in Mail.app
devstral-2 · analyzed Feb 18, 2026 Full analysis →
exploitdb WRITEUP VERIFIED
by heise Security · textremoteosx
https://www.exploit-db.com/exploits/30781

The provided text is a vulnerability description for CVE-2007-6165, affecting Apple Mac OS X Mail application due to an issue in Launch Services. It lacks actual exploit code, only referencing related CVEs and providing a basic vulnerability summary.

Classification
Writeup 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Theoretical
Target: Apple Mac OS X 10.5 (Mail application)
No auth needed
Prerequisites: User interaction (opening a malicious email attachment)
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (11)

Core 11
Core References
Vendor Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/4238
US Government Resource third-party-advisory x_refsource_cert
http://www.us-cert.gov/cas/techalerts/TA07-352A.html
US Government Resource third-party-advisory x_refsource_cert-vn
http://www.kb.cert.org/vuls/id/433819
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28136
Vendor Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/3958
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://securitytracker.com/id?1019106
Mailing List vendor-advisory x_refsource_apple
http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html
Vendor Advisory x_refsource_confirm
http://docs.info.apple.com/article.html?artnum=307179
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27785
Vendor Advisory x_refsource_misc
http://www.heise-security.co.uk/news/99257
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/26510

Scores

EPSS 0.4475
EPSS Percentile 98.6%

Details

CWE
CWE-20 CWE-264
Status published
Products (1)
apple/mac_os_x 10.5
Published Nov 29, 2007
Tracked Since Feb 18, 2026