{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:notepad-plus-plus:notepad\\+\\+:8.9.3:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "8.9.3"
              },
              {
                "last_affected": "8.9.3"
              }
            ],
            "source": [
              "CPE_STRING",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "8452101a4b349c46b19af7d7010588d3b540294f"
            },
            {
              "last_affected": "8452101a4b349c46b19af7d7010588d3b540294f"
            },
            {
              "fixed": "bfe7514d68bc559534c046c4ef2d1865267aa2b0"
            }
          ],
          "repo": "https://github.com/notepad-plus-plus/notepad-plus-plus",
          "type": "GIT"
        }
      ],
      "versions": [
        "8.9.3"
      ]
    }
  ],
  "database_specific": {},
  "details": "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 (STATUS_STACK_BUFFER_OVERRUN).",
  "id": "CVE-2026-5525",
  "modified": "2026-07-08T05:38:27.800879835Z",
  "published": "2026-04-10T08:16:26.067Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://github.com/notepad-plus-plus/notepad-plus-plus/issues/17921"
    },
    {
      "type": "FIX",
      "url": "https://github.com/notepad-plus-plus/notepad-plus-plus/commit/bfe7514d68bc559534c046c4ef2d1865267aa2b0"
    },
    {
      "type": "FIX",
      "url": "https://github.com/notepad-plus-plus/notepad-plus-plus/pull/17930"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}