{"id":"CVE-2007-6181","state":"PUBLISHED","title":"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 demonstr","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.","publishedAt":"2007-11-30T00:00:00.000Z","updatedAt":"2024-08-07T15:54:26.961Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://cygwin.com/ml/cygwin-developers/2007-11/msg00026.html","http://www.securityfocus.com/archive/1/484153/100/0/threaded","http://cygwin.com/ml/cygwin-developers/2007-11/msg00024.html","http://securityreason.com/securityalert/3406","http://www.securityfocus.com/bid/26557","http://cygwin.com/ml/cygwin-developers/2007-11/msg00005.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:38:42.124Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2007/6xxx/CVE-2007-6181.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2007-6181","state":"PUBLISHED","datePublished":"2007-11-30T00:00:00.000Z","dateUpdated":"2024-08-07T15:54:26.961Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2007-11-29T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://cygwin.com/ml/cygwin-developers/2007-11/msg00026.html","name":"[cygwin-developers] 20071120 Re: cygwin1.dll up to 1.5.22 overflow","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/archive/1/484153/100/0/threaded","name":"20071124 [ISecAuditors Security Advisories] Cygwin buffer overflow due incorrect filename length check","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://cygwin.com/ml/cygwin-developers/2007-11/msg00024.html","name":"[cygwin-developers] 20071120 Re: cygwin1.dll up to 1.5.22 overflow","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://securityreason.com/securityalert/3406","name":"3406","tags":["third-party-advisory","x_refsource_SREASON"]},{"url":"http://www.securityfocus.com/bid/26557","name":"26557","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://cygwin.com/ml/cygwin-developers/2007-11/msg00005.html","name":"[cygwin-developers] 20071108 Re: cygwin1.dll up to 1.5.22 overflow","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-10-15T20:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2007-11-08T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-6181","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"[cygwin-developers] 20071120 Re: cygwin1.dll up to 1.5.22 overflow","refsource":"MLIST","url":"http://cygwin.com/ml/cygwin-developers/2007-11/msg00026.html"},{"name":"20071124 [ISecAuditors Security Advisories] Cygwin buffer overflow due incorrect filename length check","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/484153/100/0/threaded"},{"name":"[cygwin-developers] 20071120 Re: cygwin1.dll up to 1.5.22 overflow","refsource":"MLIST","url":"http://cygwin.com/ml/cygwin-developers/2007-11/msg00024.html"},{"name":"3406","refsource":"SREASON","url":"http://securityreason.com/securityalert/3406"},{"name":"26557","refsource":"BID","url":"http://www.securityfocus.com/bid/26557"},{"name":"[cygwin-developers] 20071108 Re: cygwin1.dll up to 1.5.22 overflow","refsource":"MLIST","url":"http://cygwin.com/ml/cygwin-developers/2007-11/msg00005.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://cygwin.com/ml/cygwin-developers/2007-11/msg00026.html","name":"[cygwin-developers] 20071120 Re: cygwin1.dll up to 1.5.22 overflow","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/484153/100/0/threaded","name":"20071124 [ISecAuditors Security Advisories] Cygwin buffer overflow due incorrect filename length check","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://cygwin.com/ml/cygwin-developers/2007-11/msg00024.html","name":"[cygwin-developers] 20071120 Re: cygwin1.dll up to 1.5.22 overflow","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://securityreason.com/securityalert/3406","name":"3406","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"]},{"url":"http://www.securityfocus.com/bid/26557","name":"26557","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://cygwin.com/ml/cygwin-developers/2007-11/msg00005.html","name":"[cygwin-developers] 20071108 Re: cygwin1.dll up to 1.5.22 overflow","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T15:54:26.961Z"}}]}}}