{"api_version":"1","generated_at":"2026-04-13T20:31:42+00:00","cve":"CVE-2007-2666","urls":{"html":"https://cve.report/CVE-2007-2666","api":"https://cve.report/api/cve/CVE-2007-2666.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2007-2666","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-2666"},"summary":{"title":"CVE-2007-2666","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++.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2007-05-14 23:19:00","updated_at":"2018-10-16 16:44:00"},"problem_types":["CWE-119"],"metrics":[],"references":[{"url":"http://www.vupen.com/english/advisories/2007/1867","name":"ADV-2007-1867","refsource":"VUPEN","tags":["Vendor Advisory"],"title":"Webmail : Solution de messagerie professionnelle - OVHcloud- OVH","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/23961","name":"23961","refsource":"BID","tags":[],"title":"Notepad++ Ruby Source File Processing Buffer Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://www.securityfocus.com/archive/1/469348/100/100/threaded","name":"20070523 Re: notepad++[v4.1]: (win32) ruby file processing buffer overflow exploit.","refsource":"BUGTRAQ","tags":[],"title":"SecurityFocus","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://www.vupen.com/english/advisories/2007/1794","name":"ADV-2007-1794","refsource":"VUPEN","tags":["Vendor Advisory"],"title":"Webmail : Solution de messagerie professionnelle - OVHcloud- OVH","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/archive/1/468529/100/0/threaded","name":"20070513 notepad++[v4.1]: (win32) ruby file processing buffer overflow exploit.","refsource":"BUGTRAQ","tags":[],"title":"SecurityFocus","mime":"text/x-c","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/34269","name":"notepadplus-rb-bo(34269)","refsource":"XF","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/25245","name":"25245","refsource":"SECUNIA","tags":["Vendor Advisory"],"title":"Notepad++ Ruby Source File Buffer Overflow Vulnerability - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.exploit-db.com/exploits/3912","name":"3912","refsource":"EXPLOIT-DB","tags":[],"title":"Notepad++ 4.1 (Windows x86) - '.ruby' File Processing Buffer Overflow - Windows_x86 local Exploit","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/34372","name":"scintilla-rb-bo(34372)","refsource":"XF","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/25327","name":"25327","refsource":"SECUNIA","tags":[],"title":"Scintilla LexRuby.cxx Ruby Source File Buffer Overflow Vulnerability - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://osvdb.org/36007","name":"36007","refsource":"OSVDB","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"http://scintilla.cvs.sourceforge.net/scintilla/scintilla/src/LexRuby.cxx?view=log#rev1.13","name":"http://scintilla.cvs.sourceforge.net/scintilla/scintilla/src/LexRuby.cxx?view=log#rev1.13","refsource":"CONFIRM","tags":[],"title":"CVS Info for project scintilla","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-2666","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-2666","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2007","cve_id":"2666","vulnerable":"1","versionEndIncluding":"4.1.1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"notepad++","cpe5":"notepad++","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2007","cve_id":"2666","vulnerable":"1","versionEndIncluding":"4.1.1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"notepad\\+\\+","cpe5":"notepad\\+\\+","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2007","cve_id":"2666","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"scintilla","cpe5":"scintilla","cpe6":"1.73","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2007","cve_id":"2666","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"scintilla","cpe5":"scintilla","cpe6":"1.73","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"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"}]}},"nvd":{"publishedDate":"2007-05-14 23:19:00","lastModifiedDate":"2018-10-16 16:44:00","problem_types":["CWE-119"],"metrics":{"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:H/Au:N/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"HIGH","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":7.6},"severity":"HIGH","exploitabilityScore":4.9,"impactScore":10,"obtainAllPrivilege":true,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:notepad\\+\\+:notepad\\+\\+:*:*:*:*:*:*:*:*","versionEndIncluding":"4.1.1","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:scintilla:scintilla:1.73:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2007","CveId":"2666","Ordinal":"25282","Title":"CVE-2007-2666","CVE":"CVE-2007-2666","Year":"2007"},"notes":[{"CveYear":"2007","CveId":"2666","Ordinal":"1","NoteData":"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++.","Type":"Description","Title":null},{"CveYear":"2007","CveId":"2666","Ordinal":"2","NoteData":"2007-05-14","Type":"Other","Title":"Published"},{"CveYear":"2007","CveId":"2666","Ordinal":"3","NoteData":"2018-10-16","Type":"Other","Title":"Modified"}]}}}