{"id":"CVE-2007-2666","state":"PUBLISHED","title":"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","description":"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++.","publishedAt":"2007-05-14T23:00:00.000Z","updatedAt":"2024-08-07T13:49:56.939Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.vupen.com/english/advisories/2007/1794","http://www.securityfocus.com/archive/1/468529/100/0/threaded","https://www.exploit-db.com/exploits/3912","http://secunia.com/advisories/25327","http://www.vupen.com/english/advisories/2007/1867","http://www.securityfocus.com/archive/1/469348/100/100/threaded","http://www.securityfocus.com/bid/23961","https://exchange.xforce.ibmcloud.com/vulnerabilities/34269","http://scintilla.cvs.sourceforge.net/scintilla/scintilla/src/LexRuby.cxx?view=log#rev1.13","https://exchange.xforce.ibmcloud.com/vulnerabilities/34372","http://osvdb.org/36007","http://secunia.com/advisories/25245"],"weaknesses":[],"ingestedAt":"2026-10-29T19:38:30.562Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2007/2xxx/CVE-2007-2666.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2007-2666","state":"PUBLISHED","datePublished":"2007-05-14T23:00:00.000Z","dateUpdated":"2024-08-07T13:49:56.939Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2007-05-14T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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++."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.vupen.com/english/advisories/2007/1794","name":"ADV-2007-1794","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.securityfocus.com/archive/1/468529/100/0/threaded","name":"20070513 notepad++[v4.1]: (win32) ruby file processing buffer overflow exploit.","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://www.exploit-db.com/exploits/3912","name":"3912","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://secunia.com/advisories/25327","name":"25327","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2007/1867","name":"ADV-2007-1867","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.securityfocus.com/archive/1/469348/100/100/threaded","name":"20070523 Re: notepad++[v4.1]: (win32) ruby file processing buffer overflow exploit.","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.securityfocus.com/bid/23961","name":"23961","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/34269","name":"notepadplus-rb-bo(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","name":"scintilla-rb-bo(34372)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://osvdb.org/36007","name":"36007","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://secunia.com/advisories/25245","name":"25245","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-10-16T14:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2007-05-12T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-2666","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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++."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"ADV-2007-1794","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2007/1794"},{"name":"20070513 notepad++[v4.1]: (win32) ruby file processing buffer overflow exploit.","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/468529/100/0/threaded"},{"name":"3912","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/3912"},{"name":"25327","refsource":"SECUNIA","url":"http://secunia.com/advisories/25327"},{"name":"ADV-2007-1867","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2007/1867"},{"name":"20070523 Re: notepad++[v4.1]: (win32) ruby file processing buffer overflow exploit.","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/469348/100/100/threaded"},{"name":"23961","refsource":"BID","url":"http://www.securityfocus.com/bid/23961"},{"name":"notepadplus-rb-bo(34269)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/34269"},{"name":"http://scintilla.cvs.sourceforge.net/scintilla/scintilla/src/LexRuby.cxx?view=log#rev1.13","refsource":"CONFIRM","url":"http://scintilla.cvs.sourceforge.net/scintilla/scintilla/src/LexRuby.cxx?view=log#rev1.13"},{"name":"scintilla-rb-bo(34372)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/34372"},{"name":"36007","refsource":"OSVDB","url":"http://osvdb.org/36007"},{"name":"25245","refsource":"SECUNIA","url":"http://secunia.com/advisories/25245"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.vupen.com/english/advisories/2007/1794","name":"ADV-2007-1794","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/468529/100/0/threaded","name":"20070513 notepad++[v4.1]: (win32) ruby file processing buffer overflow exploit.","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/3912","name":"3912","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"http://secunia.com/advisories/25327","name":"25327","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2007/1867","name":"ADV-2007-1867","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/469348/100/100/threaded","name":"20070523 Re: notepad++[v4.1]: (win32) ruby file processing buffer overflow exploit.","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.securityfocus.com/bid/23961","name":"23961","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/34269","name":"notepadplus-rb-bo(34269)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://scintilla.cvs.sourceforge.net/scintilla/scintilla/src/LexRuby.cxx?view=log#rev1.13","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/34372","name":"scintilla-rb-bo(34372)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://osvdb.org/36007","name":"36007","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://secunia.com/advisories/25245","name":"25245","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T13:49:56.939Z"}}]}}}