CVE-2001-0565

Solaris <= 8 - Buffer Overflow via mailx -F Option

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2001-0565. PoCs published by Pablo Sor.

AI-analyzed exploit summary This exploit targets a buffer overflow in the -F option of Solaris mailx, allowing local privilege escalation to the 'mail' group. It uses shellcode to set the effective GID to 6 (mail) and spawns a shell.

Description

Buffer overflow in mailx in Solaris 8 and earlier allows a local attacker to gain additional privileges via a long '-F' command line option.

Exploits (2)

exploitdb WORKING POC VERIFIED
by Pablo Sor · clocalsolaris
https://www.exploit-db.com/exploits/20773

This exploit targets a buffer overflow in the -F option of Solaris mailx, allowing local privilege escalation to the 'mail' group. It uses shellcode to set the effective GID to 6 (mail) and spawns a shell.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Solaris mailx (Solaris 8 SPARC)
No auth needed
Prerequisites: Local access to a vulnerable Solaris system · Solaris 8 SPARC with mailx installed
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by Pablo Sor · clocalsolaris
https://www.exploit-db.com/exploits/20772

This exploit leverages a buffer overflow in the -F option of Solaris mailx to overwrite stack variables, including the return address, allowing local privilege escalation to the mail group. The PoC includes shellcode to spawn a shell and sets up the environment for execution.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Solaris mailx (Solaris 8 x86)
No auth needed
Prerequisites: Local access to a vulnerable Solaris 8 x86 system · Presence of /usr/bin/mailx with the vulnerable -F option
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (5)

Core 5
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/8246
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/2610
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://online.securityfocus.com/archive/1/184210
US Government Resource third-party-advisory x_refsource_cert-vn
http://www.kb.cert.org/vuls/id/446864
Exploit, Patch, Vendor Advisory mailing-list x_refsource_bugtraq
http://archives.neohapsis.com/archives/bugtraq/2001-05/0016.html

Scores

EPSS 0.0128
EPSS Percentile 66.3%

Details

Status published
Products (10)
sun/solaris 2.5 (2 CPE variants)
sun/solaris 2.5.1 (2 CPE variants)
sun/solaris 2.6 (2 CPE variants)
sun/solaris 7.0 (2 CPE variants)
sun/solaris 8.0 (2 CPE variants)
sun/sunos
sun/sunos 5.5
sun/sunos 5.5.1
sun/sunos 5.7
sun/sunos < 5.9
Published Aug 14, 2001
Tracked Since Feb 18, 2026