A stack-based buffer overflow vulnerability exists in Notepad++ version 8.9.3 in the file drop handler component. When a user drags and drops a directory path of exactly 259 characters without a trailing backslash, the application appends a backslash and null terminator without proper bounds checking, resulting in a stack buffer overflow and application crash (STATUSSTACKBUFFER_OVERRUN).
{
"cpe": "cpe:2.3:a:notepad-plus-plus:notepad\\+\\+:8.9.3:*:*:*:*:*:*:*",
"source": [
"CPE_STRING",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "8.9.3"
},
{
"last_affected": "8.9.3"
}
]
}[
{
"source": "https://github.com/notepad-plus-plus/notepad-plus-plus/commit/bfe7514d68bc559534c046c4ef2d1865267aa2b0",
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "274537293417442963565851391350857528842",
"length": 2177.0
},
"id": "CVE-2026-5525-b6858adc",
"signature_type": "Function",
"target": {
"function": "Notepad_plus::dropFiles",
"file": "PowerEditor/src/Notepad_plus.cpp"
}
},
{
"source": "https://github.com/notepad-plus-plus/notepad-plus-plus/commit/bfe7514d68bc559534c046c4ef2d1865267aa2b0",
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"240776726183043293650488723090393231810",
"150966677519643893186391815494024935869",
"102169165498368863336098939601171579453",
"119190468575794080451735000777831025381",
"217065910712636053216983043163399270158",
"74196033383380248552007860658280525648",
"59256975397398899465806751213851256213",
"215988884122346158000715297416341844635",
"219669542967510492310439883532899594716",
"218194078975693796232897595176672299615",
"43179866262453734100793098279160493350",
"43054607183458018308897410147192734900",
"328191782207663566314725076025680278993",
"263399592677710189769360717596485637544",
"58685865184504447942227427760846241237",
"15624468880297394779603583924797780188",
"258322762416285129397208301381844491420",
"38353199352286544720865443049996738591",
"62653206360933176307927814928915554559",
"22154985440830689042014248085440661124",
"169765956284603468754452218485756155687",
"59256975397398899465806751213851256213",
"24775847932160629605559848555778114507",
"215062965397654460303028230290752024544",
"177379957089563863973724276587509002063"
]
},
"id": "CVE-2026-5525-b9e7c3f8",
"signature_type": "Line",
"target": {
"file": "PowerEditor/src/Notepad_plus.cpp"
}
}
]
"2026-07-15T06:01:34Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-5525.json"