CVE-2007-2666
What it is
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++.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 15.5% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 15.5% in the next 30 days (EPSS).
- Severity: 7.6 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 15.5% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- notepad\+\+ ≤ 4.1.1
- Scintilla 1.73
Attack profile CVSS 2.0 · 7.6
- Attack vector
- Network
- Complexity
- High
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:N/AC:H/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2007-2666.md and follow it. Check whether this project is affected by CVE-2007-2666. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/25245
- http://www.vupen.com/english/advisories/2007/1794
- http://www.vupen.com/english/advisories/2007/1867
- http://secunia.com/advisories/25245
- http://www.vupen.com/english/advisories/2007/1794
- http://www.vupen.com/english/advisories/2007/1867
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
- 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