{"id":"CVE-2007-2666","aliases":["EUVD-2007-2658","GHSA-j633-pqvg-fr89"],"status":"published","title":"Stack-based buffer overflow in LexRuby.cxx (SciLexer.dll) in Scintilla 1.73, as used by notepad++...","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++.","severity":{"version":"2.0","score":7.6,"vector":"AV:N/AC:H/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.15513,"percentile":0.9683,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-119"],"published":"2007-05-14T23:00:00Z","modified":"2026-06-16T22:40:04Z","exploits":[{"source":"exploitdb","id":"EDB-3912","title":"Notepad++ 4.1 (Windows x86) - '.ruby' File Processing Buffer Overflow","type":"local","platform":"windows_x86","date":"2007-05-12","verified":true,"url":"https://www.exploit-db.com/exploits/3912"}],"products":[{"vendor":"notepad\\+\\+","product":"notepad\\+\\+"},{"vendor":"scintilla","product":"scintilla"}],"references":[{"url":"http://www.vupen.com/english/advisories/2007/1794","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory"]},{"url":"http://www.securityfocus.com/archive/1/468529/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/3912","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"http://secunia.com/advisories/25327","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2007/1867","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory"]},{"url":"http://www.securityfocus.com/archive/1/469348/100/100/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.securityfocus.com/bid/23961","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/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","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://osvdb.org/36007","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://secunia.com/advisories/25245","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-2666"},{"url":"https://github.com/advisories/GHSA-j633-pqvg-fr89"}],"sources":{"cve":[{"id":"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++.","status":"published","published":"2007-05-14T23:00:00Z","modified":"2024-08-07T13:49:56.939Z","updated_at":"2026-11-02T13:32:23.14582Z"}],"euvd":[{"id":"EUVD-2007-2658","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++.","status":"published","published":"2007-05-14T23:00:00Z","modified":"2024-08-07T13:49:56Z","updated_at":"2026-11-03T01:38:20.04441Z"}],"ghsa":[{"id":"GHSA-j633-pqvg-fr89","title":"Stack-based buffer overflow in LexRuby.cxx (SciLexer.dll) in Scintilla 1.73, as used by notepad++...","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++.","status":"published","published":"2022-05-01T18:06:04Z","modified":"2023-01-31T05:03:58Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:48:34.878158Z"}],"nvd":[{"id":"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++.","status":"published","published":"2007-05-14T23:19:00Z","modified":"2026-06-16T22:40:04.473Z","cvss":[{"version":"2.0","score":7.6,"vector":"AV:N/AC:H/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:01:15.696607Z"}]}}
