Skip to main content
Mallory
MediumPublic exploitVulnerability

CVE-2026-3008: Format String Injection in Notepad++ FindInFiles

Published Apr 27, 2026 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS6.6Medium · v3.1
EPSS0.19%5th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
IdentifiersCVE-2026-3008CWE-134 · Use of Externally-Controlled…

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

2 exploits validated by Mallory's analysis.

View more in app →
CVE-2026-3008This four-file repository is a proof-of-concept exploit package for a claimed Notepad++ 8.9.3 format-string vulnerability (CVE-2026-3008). README.md documents the alleged vulnerable flow: the find-result-hits value from nativeLang.xml is passed as the format string to wsprintfW during Find Results initialization, without variadic arguments. The payloads directory contains three XML localization files: formatstring_crash.xml uses repeated %s directives to induce an access violation; formatstring_leak.xml uses repeated %08lx directives to expose 32-bit fragments of residual values; and formatstring_perX.xml provides a shorter %x leak variant. Exploitation requires local modification of a localization XML file, potentially delivered in a malicious third-party language pack, followed by a Find All, Find in Files, Mark All, or Replace All operation that produces search results. No network activity, remote endpoint, shell payload, persistence mechanism, or code-execution capability is present.llgsjsm · Disclosed Apr 20, 2026 · xml · markdown · file · local · supply_chainOperationalcve-2026-3008This repository is a small proof-of-concept exploit package for CVE-2026-3008 affecting Notepad++ 8.9.3 on Windows. It is not tied to a common exploit framework. The repo contains one explanatory README and three XML payload files under payloads/. The exploit is file-based and local in delivery: it relies on replacing or planting a malicious nativeLang.xml localization file that Notepad++ loads when localization is enabled. The vulnerable data flow described in the README is nativeLang.xml -> TinyXML parser -> NativeLangSpeaker UTF conversion -> sub_140099E60 -> wsprintfW, where the <find-result-hits> attribute is used directly as a format string. Because wsprintfW is invoked with only the format string and no matching variadic arguments, attacker-supplied specifiers read stale register/stack values. The provided payloads demonstrate two practical outcomes: reliable denial of service using repeated %s specifiers that dereference invalid pointers and crash Notepad++, and information disclosure using %08lx or %x specifiers that render stack/register-derived values in the Find Results panel. The README explicitly notes that wsprintfW does not support %n and that the output limit matches the destination buffer, so the demonstrated impact is limited to crash and memory disclosure rather than code execution. Repository structure is straightforward: README.md documents the vulnerability, trigger conditions, affected functions and addresses, and exploitation constraints; payloads/formatstring_crash.xml provides a crash-oriented payload; payloads/formatstring_leak.xml provides a memory disclosure payload; payloads/formatstring_perX.xml provides a simpler hexadecimal leak variant. The exploit triggers when the victim performs a search operation that yields results, including Find All, Find in Files, Replace All, or Mark All.llgsjsm · Disclosed Apr 20, 2026 · markdown · xml · file · localOperational
FAQ

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.
Activity feed

Recent activity

19 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+1 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity13Community discussion across Reddit, Mastodon, and other social sources.