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…
- 8.5HighCVSS base score
- 5.6%Exploitation in 30 daysEPSS · top 7.0% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By mitre
- 1 day later
· 1 day later
Published
- 17 years later
· 17 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High8.5 | AV:N/AC:M/Au:S/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 5.6% · top 7.0% of all CVEs (9 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.5.
Affected products
n/a
- affected n/a
References
6
- [cygwin-developers] 20071120 Re: cygwin1.dll up to 1.5.22 overflow (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 20071124 [ISecAuditors Security Advisories] Cygwin buffer overflow due incorrect filename length check (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- [cygwin-developers] 20071120 Re: cygwin1.dll up to 1.5.22 overflow (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 3406 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
- 26557 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- [cygwin-developers] 20071108 Re: cygwin1.dll up to 1.5.22 overflow (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2007-6150 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2007-6181)Record last updated .