CVE-2007-2666
CVE-2007-2666 is a high-severity vulnerability in Notepad++ with a CVSS 2.0 base score of 7.6. Its EPSS exploit-prediction score of 15% places it in the 96th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-119.
Key facts
- Severity: High (CVSS 2.0 base score 7.6)
- EPSS exploit prediction: 15% (96th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Notepad++
- Published:
- Last modified:
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++.
Frequently asked questions
- What is CVE-2007-2666?
- 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++.
- How severe is CVE-2007-2666?
- CVE-2007-2666 has a CVSS 2.0 base score of 7.6, rated high severity.
- Is CVE-2007-2666 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 15% (96th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2007-2666?
- CVE-2007-2666 primarily affects Notepad++. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2007-2666?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2007-2666 published?
- CVE-2007-2666 was published on 2007-05-14 and last updated on 2026-06-16.
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
Affected products (2)
- cpe:2.3:a:notepad\+\+:notepad\+\+:*:*:*:*:*:*:*:*
- cpe:2.3:a:scintilla:scintilla:1.73:*:*:*:*:*:*:*
More vulnerabilities in Notepad++
- CVE-2008-3436 — High (CVSS 7.5): The GUP generic update process in Notepad++ before 4.8.1 does not properly verify the authenticity of updates, which…
All CVEs affecting Notepad++ →
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.