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% (92nd 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% (92nd 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-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.