{"id":"CVE-2007-6181","aliases":["EUVD-2007-6150","GHSA-9xfg-9jrh-8c3v"],"status":"published","title":"Heap-based buffer overflow in cygwin1.dll in Cygwin 1.5.7 and earlier allows context-dependent...","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.","severity":{"version":"2.0","score":8.5,"vector":"AV:N/AC:M/Au:S/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.05589,"percentile":0.92946,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-119"],"published":"2007-11-30T00:00:00Z","modified":"2026-06-16T22:47:33Z","products":[{"vendor":"redhat","product":"cygwin"}],"references":[{"url":"http://cygwin.com/ml/cygwin-developers/2007-11/msg00026.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Vendor Advisory"]},{"url":"http://www.securityfocus.com/archive/1/484153/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://cygwin.com/ml/cygwin-developers/2007-11/msg00024.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Exploit","Vendor Advisory"]},{"url":"http://securityreason.com/securityalert/3406","tags":["third-party-advisory","x_refsource_SREASON","x_transferred","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/26557","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://cygwin.com/ml/cygwin-developers/2007-11/msg00005.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Exploit","Patch","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-6181"},{"url":"https://github.com/advisories/GHSA-9xfg-9jrh-8c3v"}],"sources":{"cve":[{"id":"CVE-2007-6181","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.","status":"published","published":"2007-11-30T00:00:00Z","modified":"2024-08-07T15:54:26.961Z","updated_at":"2026-11-02T13:33:19.093583Z"}],"euvd":[{"id":"EUVD-2007-6150","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.","status":"published","published":"2007-11-30T00:00:00Z","modified":"2024-08-07T15:54:26Z","updated_at":"2026-11-03T01:16:14.290993Z"}],"ghsa":[{"id":"GHSA-9xfg-9jrh-8c3v","title":"Heap-based buffer overflow in cygwin1.dll in Cygwin 1.5.7 and earlier allows context-dependent...","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.","status":"published","published":"2022-05-01T18:40:21Z","modified":"2023-01-31T05:04:50Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:48:44.881102Z"}],"nvd":[{"id":"CVE-2007-6181","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.","status":"published","published":"2007-11-30T00:46:00Z","modified":"2026-06-16T22:47:33.317Z","cvss":[{"version":"2.0","score":8.5,"vector":"AV:N/AC:M/Au:S/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:01:23.208914Z"}]}}
