Description
Heap-based buffer overflow in cygwin1.dll in Cygwin 1.5.7 and earlier allows context-dependent attackers to execute arbitrary code via a filename with a certain length, as demonstrated by a remote authenticated user who uses the SCP protocol to send a file to the Cygwin machine, and thereby causes scp.exe on this machine to execute, and then overwrite heap memory with characters from the filename. NOTE: it is also reported that a related issue might exist in 1.5.7 through 1.5.19.
Metrics
AV:N/AC:M/Au:S/C:C/I:C/A:CWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00005.htmlExploit, Patch, Vendor Advisory
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00024.htmlExploit, Vendor Advisory
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00026.htmlVendor Advisory
- http://securityreason.com/securityalert/3406Third Party Advisory
- http://www.securityfocus.com/archive/1/484153/100/0/threadedThird Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/26557Third Party Advisory, VDB Entry
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00005.htmlExploit, Patch, Vendor Advisory
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00024.htmlExploit, Vendor Advisory
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00026.htmlVendor Advisory
- http://securityreason.com/securityalert/3406Third Party Advisory
- http://www.securityfocus.com/archive/1/484153/100/0/threadedThird Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/26557Third Party Advisory, VDB Entry
Timeline
- Published
- Nov 30, 2007
- Last modified
- Jun 16, 2026
- NVD status
- Modified