What’s Vulnerable › Vulnerabilities
CVE-2007-6181
- Severity: high (CVSS 8.5 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 5.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2007-11-30 · updated 2026-06-16
- Weakness: CWE-119
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.
Affected products
- RedHat Cygwin: through 1.5.19
References
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00005.html
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00024.html
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00026.html
- http://securityreason.com/securityalert/3406
- http://www.securityfocus.com/archive/1/484153/100/0/threaded
- http://www.securityfocus.com/bid/26557
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00005.html
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00024.html
- http://cygwin.com/ml/cygwin-developers/2007-11/msg00026.html
- http://securityreason.com/securityalert/3406
- http://www.securityfocus.com/archive/1/484153/100/0/threaded
- http://www.securityfocus.com/bid/26557
Get alerted when CVE-2007-6181 or the next vulnerability affects your stack