CVE-2007-2666
Stack-based buffer overflow in LexRuby.cxx (SciLexer.dll) in Scintilla 1.73, as used by notepad++...
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++.
Exploit likelihood
What each source reports
NVD Score used
7.6
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++.
- Record
CVE-2007-2666- CVSS 2.0
- 7.6 High
AV:N/AC:H/Au:N/C:C/I:C/A:C - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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++.
- Record
CVE-2007-2666- Updated
- 2026-11-02
EUVDEUVD-2007-2658 No score
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++.
- Record
EUVD-2007-2658- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-j633-pqvg-fr89 No score
Stack-based buffer overflow in LexRuby.cxx (SciLexer.dll) in Scintilla 1.73, as used by notepad++...
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++.
- Record
GHSA-j633-pqvg-fr89- Weakness
- CWE-119
- Updated
- 2026-11-02
Affected products
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Notepad++ 4.1 (Windows x86) - '.ruby' File Processing Buffer Overflow | 2007-05-12 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| aliases, exploits, facts, references, title | Exploit-DB, GitHub Advisories | |
| first indexed | CVE List, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2007-2666 is a high vulnerability (CVSS 7.6) in Scintilla, published May 14, 2007. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 15.5%, the 96th percentile. No source names a fixed version.
References
vupen.com/english/advisories/2007/1794
securityfocus.com/archive/1/468529/100/0/threaded
exploit-db.com/exploits/3912
secunia.com/advisories/25327
vupen.com/english/advisories/2007/1867
securityfocus.com/archive/1/469348/100/100/threaded
Show 8 moreShow less
securityfocus.com/bid/23961
exchange.xforce.ibmcloud.com/vulnerabilities/34269
scintilla.cvs.sourceforge.net/scintilla/scintilla/src/LexRuby.cxx?view=log
exchange.xforce.ibmcloud.com/vulnerabilities/34372
osvdb.org/36007
secunia.com/advisories/25245
nvd.nist.gov/vuln/detail/CVE-2007-2666
github.com/advisories/GHSA-j633-pqvg-fr89