Cygwin < 1.5.24 cygwin1.dll Crafted Filename Handling Overflow

High Nessus Plugin ID 28330


The remote Windows host contains an application that is prone to a buffer overflow vulnerability.


Cygwin, a Linux-like environment for Windows, is installed on the remote host.

The version of Cygwin installed on the remote host is affected by a heap-based buffer overflow vulnerability involving a filename length check. Using a filename between 233 and 239 characters, an attacker who can create a file on the remote can leverage this issue to execute arbitrary code on the affected host subject to the privileges under which Cygwin operates.


Upgrade to Cygwin 1.5.24 as that version is reportedly not affected.

See Also

Plugin Details

Severity: High

ID: 28330

File Name: cygwin_1_5_24.nasl

Version: $Revision: 1.11 $

Type: local

Agent: windows

Family: Windows

Published: 2007/11/27

Modified: 2015/01/12

Dependencies: 13855

Risk Information

Risk Factor: High


Base Score: 8.5

Temporal Score: 6.3

Vector: CVSS2#AV:N/AC:M/Au:S/C:C/I:C/A:C

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

Vulnerability Information

Required KB Items: SMB/Registry/Enumerated

Exploit Available: false

Exploit Ease: No known exploits are available

Reference Information

CVE: CVE-2007-6181

BID: 26557

OSVDB: 43714

CWE: 119