CVE-2007-6181
CVE-2007-6181 is a high-severity vulnerability in Redhat Cygwin with a CVSS 2.0 base score of 8.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.
Key facts
- Severity: High (CVSS 2.0 base score 8.5)
- EPSS exploit prediction: 6% (93rd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Redhat Cygwin
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2007-6181?
- 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.
- How severe is CVE-2007-6181?
- CVE-2007-6181 has a CVSS 2.0 base score of 8.5, rated high severity.
- Is CVE-2007-6181 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 6% (93rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2007-6181?
- CVE-2007-6181 affects Redhat Cygwin. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2007-6181?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2007-6181 published?
- CVE-2007-6181 was published on 2007-11-30 and last updated on 2026-06-16.
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
Affected products (1)
- cpe:2.3:a:redhat:cygwin:*:*:*:*:*:*:*:*
More vulnerabilities in Redhat Cygwin
- CVE-2008-3323 — High (CVSS 7.6): setup.exe before 2.573.2.3 in Cygwin does not properly verify the authenticity of packages, which allows remote Cygwin…
All CVEs affecting Redhat Cygwin →
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-129354 — Critical (CVSS 10.0): A flaw has been found in D-Link DIR-600L 2.17b02. Affected by this issue is the function hnap_main of the file…
- CVE-2026-129353 — Critical (CVSS 10.0): A vulnerability was detected in D-Link DIR-600L 2.17/2.17b02. Affected by this vulnerability is the function…
- CVE-2026-129351 — Critical (CVSS 10.0): A security vulnerability has been detected in TRENDnet TEW-657BRM 1.00.1. This vulnerability affects the function…
- CVE-2026-123966 — Critical (CVSS 10.0): A vulnerability was determined in Tenda AC19 16.03.10.07. Affected by this issue is the function saveParentControlInfo…
- CVE-2026-120283 — Critical (CVSS 10.0): A vulnerability was identified in Linksys E8450 1.2.00.360516. Affected is the function strcpy of the file…
- CVE-2026-120281 — Critical (CVSS 10.0): A vulnerability was found in WAVLINK WN536AX6-A V260507. This affects the function strcpy of the file /protocol.csp of…