CVE-2007-6181 json
Heap-based buffer overflow in cygwin1.dll in Cygwin 1.5.7 and earlier allows context-dependent attackers to execute arbitrary code via a fi…
published 2007-11-30 18 y ago modified 2026-06-16 4 mo ago also EUVD-2007-6150
- cvss
- 8.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.6%
- EPSS 5.6% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Exploit prediction
5.59% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- cygwin.com http://cygwin.com/ml/cygwin-developers/2007-11/msg00005.html referenced PoC, tagged "exploit" by a source, unverified
- cygwin.com http://cygwin.com/ml/cygwin-developers/2007-11/msg00024.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 8.5 | AV:N/AC:M/Au:S/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
cygwin.com
/ml/cygwin-developers/2007-11/msg00005.html
mailing-list, exploit, patch, vendor-advisory
-
cygwin.com
/ml/cygwin-developers/2007-11/msg00024.html
mailing-list, exploit, vendor-advisory
-
cygwin.com
/ml/cygwin-developers/2007-11/msg00026.html
mailing-list, vendor-advisory
-
securityfocus.com
/archive/1/484153/100/0/threaded
mailing-list, third-party-advisory, vdb-entry
-
securityreason.com
/securityalert/3406
third-party-advisory
-
securityfocus.com
/bid/26557
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2007-6181
- NVD CVE-2007-6181
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.