CVE-2026-3008: Format String Injection in Notepad++ FindInFiles
CVE-2026-3008 is a format string injection vulnerability in Notepad++ affecting versions before 8.9.4, including 8.9.3. The flaw is in the FindInFiles functionality and is triggered when the localized string stored in the nativeLang.xml configuration file for the find-result-hits field contains uncontrolled format specifiers such as %s. During search result rendering, the application passes this attacker-controlled string to formatting logic based on wsprintfW, causing format specifiers to be interpreted rather than treated as literal text. This can lead to invalid memory dereferences and application crashes, or to disclosure of process memory values such as memory addresses when hexadecimal format specifiers are used. Available reporting indicates the issue was fixed in Notepad++ 8.9.4 as part of the crash fix for FindInFiles handling of malformed find-result-hits content.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can cause denial of service by crashing Notepad++ during FindInFiles operations, and can disclose sensitive process memory contents, including memory address information rendered in the search results output. The information disclosure may aid further exploitation by exposing memory layout details. Available information indicates this vulnerability does not provide direct remote code execution through the described bug path.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrading is not possible, restrict the ability to modify Notepad++ localization and configuration files, especially nativeLang.xml, and avoid using untrusted or externally supplied custom language configuration content. Monitor for abnormal application crashes during FindInFiles operations and review deployments that use customized localization settings. No complete workaround is available in the provided information aside from applying the vendor fix.
Remediation
Patch, then assume compromise.
Upgrade Notepad++ to version 8.9.4 or later, which includes the fix for improper handling of format specifiers in the FindInFiles processing path associated with the find-result-hits value in nativeLang.xml. Standard patch management should prioritize replacement of affected installations, including portable deployments that may carry their own configuration files.
Exploits
2 exploits validated by Mallory's analysis.
References
Frequently asked questions
- Is CVE-2026-3008 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2026-3008 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-3008?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2026-3008, the earliest disclosed Apr 20, 2026.
- Is there a patch for CVE-2026-3008?
- Upgrade Notepad++ to version 8.9.4 or later, which includes the fix for improper handling of format specifiers in the FindInFiles processing path associated with the find-result-hits value in nativeLang.xml. Standard patch management should prioritize replacement of affected installations, including portable deployments that may carry their own configuration files.
- How severe is CVE-2026-3008?
- CVE-2026-3008 has a CVSS v3.1 score of 6.6 (Medium) and an EPSS score of 0.19% (5th percentile) as of Oct 16, 2026.
Recent activity
19 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.