{"id":"CVE-2007-2666","published":"2007-05-14T23:00:00Z","modified":"2024-08-07T13:49:56Z","title":"Stack-based buffer overflow in LexRuby.cxx (SciLexer.dll) in Scintilla 1.73, as used by notepad++ 4.1.1 and earlier…","vendor":null,"product":null,"tier":"tail","description":{"text":"Stack-based buffer overflow in LexRuby.cxx (SciLexer.dll) in Scintilla 1.73, as used by notepad++ 4.1.1 and earlier, allows user-assisted remote attackers to execute arbitrary code via certain Ruby (.rb) files with long lines.  NOTE: this was originally reported as a vulnerability in notepad++.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.15513,"percentile":0.96887,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.vupen.com/english/advisories/2007/1794","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.securityfocus.com/archive/1/468529/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://www.exploit-db.com/exploits/3912","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://secunia.com/advisories/25327","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2007/1867","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.securityfocus.com/archive/1/469348/100/100/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.securityfocus.com/bid/23961","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/34269","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://scintilla.cvs.sourceforge.net/scintilla/scintilla/src/LexRuby.cxx?view=log#rev1.13","tags":["x_refsource_CONFIRM"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/34372","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://osvdb.org/36007","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://secunia.com/advisories/25245","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"priority":{"score":24.4,"factors":[{"name":"EPSS percentile","points":19.38},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2007-05-12"},"first":{"date":"2007-05-12","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/3912"},"provenance":"source"},"summary":{"text":"The flaw is a stack-based buffer overflow in the Ruby lexer (LexRuby.cxx) within SciLexer.dll, the Scintilla 1.73 component used by Notepad++ 4.1.1 and earlier. An attacker who can get a user to open a specially crafted Ruby (.rb) file containing long lines, which requires user interaction, can execute arbitrary code, and the attacker needs no prior authentication or configuration change beyond that file being opened.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:47:26Z"},"euvd":{"id":"EUVD-2007-2658","exploited":false,"provenance":"source"},"exploits":[{"id":3912,"url":"https://www.exploit-db.com/exploits/3912","title":"Notepad++ 4.1 (Windows x86) - '.ruby' File Processing Buffer Overflow","date":"2007-05-12","verified":true,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/3912"]}