CVE-2007-2666 Memory corruption in n/a
Remote attackers can execute arbitrary code by tricking users into opening malicious Ruby files in Scintilla-based editors like Notepad++.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2007-2666?
CVE-2007-2666 is a high-severity memory corruption vulnerability in n/a, published on 14 May 2007. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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++.
Weakness: CWE-119
Which versions are affected by CVE-2007-2666?
It affects 2 products.
Products include Notepad\+\+ Notepad\+\+, Scintilla Scintilla.
How do I fix CVE-2007-2666?
No fix has been published for CVE-2007-2666 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2007-2666 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-2666 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as GHSA-j633-pqvg-fr89.