What’s Vulnerable › Vulnerabilities
CVE-2007-2666
- Severity: high (CVSS 7.6 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 15.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2007-05-14 · updated 2026-06-16
- Weakness: CWE-119
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++.
Affected products
References
- http://osvdb.org/36007
- http://scintilla.cvs.sourceforge.net/scintilla/scintilla/src/LexRuby.cxx?view=log#rev1.13
- http://secunia.com/advisories/25245
- http://secunia.com/advisories/25327
- http://www.securityfocus.com/archive/1/468529/100/0/threaded
- http://www.securityfocus.com/archive/1/469348/100/100/threaded
- http://www.securityfocus.com/bid/23961
- http://www.vupen.com/english/advisories/2007/1794
- http://www.vupen.com/english/advisories/2007/1867
- https://exchange.xforce.ibmcloud.com/vulnerabilities/34269
- https://exchange.xforce.ibmcloud.com/vulnerabilities/34372
- https://www.exploit-db.com/exploits/3912
Get alerted when CVE-2007-2666 or the next vulnerability affects your stack