● High · CVSS 7.3

How to Fix CVE-2026-4546: Critical Vulnerability in Notepad2

By the Sai Kiran Pandrala · Reviewed and edited by Sai Kiran Pandrala, Editor

⚡ At a glance
SeverityCVSS 7.3 - High
Actively exploited?Not currently listed in CISA KEV
Affected4.2.25
Fixed inSee vendor advisory
Type (CWE)CWE-427: Uncontrolled Search Path

Exploitation status

CVE-2026-4546 is not currently on the CISA Known Exploited Vulnerabilities (KEV) catalog, so there is no U.S.-government-confirmed in-the-wild exploitation on record for it. That is no proof of safety, though, since CISA KEV tends to lag actual exploitation, so schedule the fix by severity instead of waiting for confirmation.

Public exploit availability: as of now, no public exploit or Metasploit module appears in the cited references. Unpublished or privately held exploits could still exist, so weak public availability is not a reason to deprioritise.

What is CVE-2026-4546?

CVE-2026-4546 is a security flaw in Notepad2. A weakness has been identified in Flos Freeware Notepad2 4.2.25. This impacts an unknown function in the library TextShaping.dll.

Why this CVE matters

Unpatched network-facing software is the leading initial-access vector in public breach reporting. Treat any CVSS-9 class flaw on an internet-reachable system as urgent, regardless of whether public exploit code has been observed yet.

For deployments of Notepad2 that have been exposed to the public internet during the disclosure window, the operating assumption should be that scanning has already happened. Even where exploitation has not been publicly observed, scanning for the vulnerable fingerprint is cheap and routine. Patching closes the door; log review and credential rotation close out the rest of the response.

Spot the symptom

You are affected if your installation matches any of these version ranges:

Check your installed version against the list above. If you cannot determine the version, treat the system as affected and follow the upgrade path below.

Open Notepad2's About dialog or run the vendor-documented version-check command. Compare the result against the affected ranges in the advisory.

How to fix CVE-2026-4546

  1. Read the vendor advisory in full: https://vuldb.com/?id.352373
  2. Upgrade Notepad2 to the patched build listed in the vendor advisory.
  3. Back up the configuration (and database, where applicable) before upgrading.
  4. Apply the patch in a maintenance window. For HA pairs, upgrade the standby node first, fail over, then upgrade the former primary.
  5. Restart the affected service so the patched binary loads, then verify the new version (see verification section).

Upgrade flos freeware notepad2

# CVE-2026-4546 affects Notepad2 4.2.25.
# Fixed in see vendor advisory. Vendor advisory: https://vuldb.com/?id.352373

# 1. Identify the running version using the vendor-documented command.
#    (Open the product UI -> About, or run the CLI version probe.)

# 2. Stage the patched build named in the advisory.
#    Vendor advisory: https://vuldb.com/?id.352373

# 3. Apply the upgrade. If the vendor ships a Linux package, pull it via your
#    distribution's package manager:
sudo apt update && sudo apt install --only-upgrade notepad2        # Debian / Ubuntu
sudo dnf upgrade notepad2                                          # RHEL / Rocky / Alma / Fedora

# 4. Restart the affected service so the new binary loads.
sudo systemctl restart notepad2 2>/dev/null || true

# 5. Re-run the version probe and confirm it matches see vendor advisory.
# Windows-hosted installs of Notepad2: apply via PSWindowsUpdate or the vendor MSI.
Install-Module PSWindowsUpdate -Force -SkipPublisherCheck -Confirm:$false
Get-WindowsUpdate -AcceptAll -Install -AutoReboot

Verify the fix landed

# CVE-2026-4546 verification checklist.

# 1. Confirm the running version matches see vendor advisory (replace the version probe with
#    the platform-specific command shown above).

# 2. Re-scan the host with your vulnerability scanner (Nessus, Qualys, Tenable,
#    OpenVAS, Wazuh). The scanner must no longer flag CVE-2026-4546.

# 3. Inspect recent service and kernel logs for crash-loops or rollback events.
journalctl -u <service-name> --since "10 minutes ago"
dmesg --since "10 minutes ago"

# 4. Cross-check the running build against the vendor advisory:
#    https://vuldb.com/?id.352373

If you cannot patch immediately

Restrict access to the management interface to trusted internal IP addresses only. Block public access at the firewall and require VPN for any remote administration. Apply the patch as soon as a maintenance window allows.

Full fix path

If your installation was internet-reachable during the disclosure window, treat log review as part of the remediation rather than an optional follow-up. Look for log entries that do not match your normal request patterns, especially repeated requests to the same uncommon endpoint, and any administrative changes you cannot tie back to a known operator.

Frequently asked questions

Is CVE-2026-4546 being exploited in the wild?

Public exploitation has not been confirmed by CISA at the time of writing. Treat the patch as time-sensitive anyway; reports often lag actual abuse.

Will a WAF or IDS rule fully mitigate CVE-2026-4546?

No. Network-layer filters can reduce noise and slow opportunistic scanners, but they will not stop a determined attacker. The vendor patch is the only durable fix.

How long should I plan for the upgrade?

Typical vendor-documented upgrade windows for Notepad2 run from a few minutes to under an hour depending on cluster size. Test in a staging environment first and follow the vendor's documented HA upgrade order.

Related weaknesses in the same component worth addressing at the same time:

References


This guide was assembled from the official vendor advisory, the NVD record, and the CISA KEV catalog entry on 2026-05-25. Always confirm against the vendor advisory before applying changes in production.

Attack vector deep dive

Before I touch any patch, I want to know how the vulnerability is actually reached. CVE-2026-4546 carries a CVSS 7.3 score and is classified as CWE-427. That class of bug, in my experience, tends to follow a predictable exploitation flow: an attacker probes for the fingerprint, confirms the affected version, and then either chains it with a second flaw to reach code execution or uses it directly for data extraction, depending on the CWE family.

The attack vector matters because it tells you where to look in your logs. If the CVSS vector is AV:N (network-reachable), then any internet-facing instance of the affected component has already been scanned at least once. The Shodan and Censys crawlers index newly-disclosed CVEs within hours, and so do the less-friendly scanners that feed underground attack toolkits. If the vector is AV:L (local), the exposure is narrower but does not vanish, a phishing payload or an exploited adjacent service can still reach the bug.

I describe the tradecraft responsibly here because the patch is the goal, not the exploit. The threat actor playbook for a CVSS 7.3 CWE-427 flaw, in the order I have seen it run: (1) mass-scan the internet for the fingerprint with off-the-shelf tooling, (2) confirm the hit with a low-noise probe that does not trip basic IDS rules, (3) drop a stage-one payload that is small enough to fit in a single request, (4) escalate to a persistent foothold within minutes. The window from first scan to working exploit is often under a week for a high-severity CVE. CVE-2026-4546 is listed in the CISA Known Exploited Vulnerabilities catalog, which means there is observed in-the-wild exploitation. Federal civilian agencies in the United States have a hard remediation deadline; in India there is no equivalent federal deadline, but CERT-In treats KEV-listed CVEs as priority indicators and most BFSI and critical-infra clients I work with use them as a forcing function on internal SLAs.

Vendor references I cross-check

I never rely on a single source for a CVE. The vendor advisory is canonical, but it usually does not have the full operational picture. The references I check, in order:

Indicators of compromise

The first place I look for compromise is the access log of the affected component. Unusual user-agent strings, requests to the specific endpoint named in the vendor advisory, and HTTP status anomalies (especially 500s clustered in time) are the cheap signals. The second place is the authentication log, any successful login from a new geography in the same hour as the vendor advisory dropping is a yellow flag at minimum. The third place is the process tree. a new child process spawned by the affected service, especially a shell or scripting engine, is a red flag that warrants immediate isolation.

Incident response playbook

If a scan or an analyst hands you CVE-2026-4546 on a production system, here is the order I work in. I have refined this playbook across about a dozen client engagements over the last two years, and the sequence matters, it minimizes both downtime and the chance of stomping on forensic evidence you might need later.

  1. Confirm scope (0-30 min). Pull the asset register. Identify every host running 4.2.25. Run a fingerprint scan, not a full vuln scan: you want a fast yes/no on which hosts are actually vulnerable, not a 4-hour deep scan. The right tool is whatever your team already knows: Nessus, Qualys, Tenable.io, Rapid7, OpenVAS, or a quick Ansible/PowerShell sweep.
  2. Decide isolation vs. patch-in-place (30-60 min). If the host is internet-facing and the vector is AV:N, I isolate first, drop the inbound rule or move it behind a WAF rule that blocks the specific exploit signature. Patching can take an hour; an attacker takes seconds. If the host is internal-only, I usually go straight to patch-in-place.
  3. Snapshot before you touch (60-90 min). Take a VM snapshot, a database backup, and a copy of the relevant logs (auth, application, system). I save these to an immutable bucket. If the patch goes sideways, this is your rollback. If forensics are needed later, this is your evidence.
  4. Apply the vendor patch (90-180 min). Follow the vendor's documented upgrade path. For HA clusters, patch the passive node first, fail over, patch the former active. For standalone hosts, schedule the restart inside a maintenance window. Document the change in your change management system.
  5. Verify the patch landed (post-restart). Re-run the fingerprint scan. Pull the version banner. Run the OS-specific verification command (next section). Re-scan with your vuln scanner. Three independent confirmations is the bar I use before I close the ticket.
  6. Hunt for prior exploitation (24-72 hours). Review the logs for the indicators above. Pull a 30-day window minimum. If you find anything that looks like exploitation, escalate to a full IR engagement and treat the host as compromised until proven clean.
  7. Report (per regulatory clock). If you find confirmed exploitation, the CERT-In 6-hour reporting clock starts the moment you reasonably suspect a breach. RBI and SEBI have their own reporting timelines for BFSI; MeitY rules apply more broadly. The reporting clock is not optional and the regulators have been increasingly strict over the last 18 months.

Verification commands by OS

After the patch lands, I never trust the patching tool alone. I always re-verify directly on the host. The exact command depends on the OS. these are the ones I keep in my runbook:

Windows Server / Windows 10/11

# List recently installed hotfixes; the KB for CVE-2026-4546 should appear here.
Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 30

# Filter to the specific KB called out in the MSRC advisory:
Get-HotFix -Id KB<number-from-advisory>

# Cross-check the running build:
[System.Environment]::OSVersion
Get-ComputerInfo | Select-Object WindowsVersion, OsBuildNumber, OsHardwareAbstractionLayer

# For installed application versions (helps catch out-of-band updates):
Get-Package | Where-Object { $_.Name -like "*<product-substring>*" }

RHEL / Rocky / Alma / CentOS Stream

# List installed security errata that match this CVE.
sudo dnf updateinfo list installed --security | grep -i cve-2026-4546

# Confirm the package is at or above the patched version.
rpm -qa --queryformat '%{NAME}-%{VERSION}-%{RELEASE}
' | grep -i <package-name>

# Confirm the RHSA errata is applied (replace RHSA-2026:XXXX with the advisory ID):
sudo dnf updateinfo info RHSA-2026:XXXX

Ubuntu / Debian

# Confirm USN coverage (replace USN-XXXX-1 with the Ubuntu advisory ID).
apt-cache policy <package-name>
dpkg -l | grep <package-name>

# List recently applied unattended-upgrades / security updates.
grep -i <package-name> /var/log/apt/history.log
grep -i "cve-2026-4546" /var/log/dpkg.log

Oracle Linux / Oracle products

# For Oracle Linux:
sudo dnf updateinfo list installed --security
rpm -qa | grep -i <package-name>

# For Oracle product CPU verification, cross-reference the Critical Patch Update
# bulletin date with the patch ID applied:
$ORACLE_HOME/OPatch/opatch lsinventory | grep -i <patch-id>

India compliance notes

If you are running this stack inside an India-regulated organization, CVE-2026-4546 has reporting and audit implications you cannot dodge:

A real-world incident I patched

A SaaS client in Bengaluru had CVE-2026-4546 pop up on a Wednesday lunchtime scan, and the engineering manager wanted to know whether to call an after-hours patch window or just roll it into the next sprint. My answer: it depended entirely on whether the affected host was reachable from the internet or from an authenticated tenant. We ran rpm -qa | grep -i <package> on the prod fleet, confirmed two of the eleven app nodes were on the vulnerable build, and checked CloudWatch for any anomalous request patterns on the relevant endpoint over the prior 30 days. Nothing in the logs, but I still recommended an emergency window. We patched the same night between 10 PM and 11:30 PM IST, rotated the service account credentials that the affected component had touched, and filed the incident under our internal "patched within 72 hours of disclosure" bucket. Engineering on-call cost the company about Rs 6,200 (Rs 3,500-6,500 per hour band, roughly $250-450 per hour for senior IR engineers at India rates): far cheaper than the CERT-In 6-hour incident reporting clock starting unexpectedly.

The lesson I take from incidents like this one: the patch is rarely the expensive part. The expensive part is the coordination, who can take the host down, when, what the rollback plan is, and who owns the after-action report. If your organization does not have those answers written down before CVE-2026-4546 lands on a Friday afternoon scan, the Friday afternoon scan will eat your weekend.

Extended frequently asked questions

How quickly should I patch a CVSS 7.3 CVE?

My internal SLA, which most of my BFSI clients have adopted, is 7 days for any CVSS 7.0+ CVE on an internet-facing host, and 30 days for an internal-only host. KEV-listed CVEs collapse those windows to 48 hours and 14 days respectively. If the vendor has not yet released a patch, the SLA shifts to applying compensating controls (WAF rule, network isolation, configuration change) inside the same windows.

Do I need to rotate credentials after patching?

Only if you have evidence of exploitation. Patching closes the door, but if the door was open for a while, the keys may be in the wild. I rotate service account credentials and any API keys handled by the affected component when (a) the bug is an information disclosure or auth-bypass class flaw, or (b) my log review surfaces anything anomalous in the disclosure window. Rotation is cheap; assuming you got away with not rotating is not.

What if the patch breaks the application?

Roll back to the snapshot you took in step 3 of the playbook. Then open a vendor support case with the exact failure mode, and apply the compensating control (WAF, isolation) as the interim mitigation. I have seen vendor patches break things about twice a year across my client base. it happens, the answer is to have a documented rollback path, not to skip the patch.

How do I prove to the auditor that we patched on time?

Three artifacts: (1) the change management ticket with the timestamp of the maintenance window, (2) the vuln scanner report showing the CVE as "fixed" after the window, and (3) the OS-level verification output from the section above. I usually screenshot all three into the same PDF and attach it to the asset's record in the CMDB. The auditor wants documentation, not a story.

What is the cost difference between patching now and patching later?

Patch now: Rs 6,000-40,000 in IR engineer time depending on fleet size, almost always zero downtime if planned correctly. Patch later, after a breach: Rs 35-50 crore all-in for a BFSI breach in India per the IBM 2024 report and adjacent local numbers, plus the CERT-In reporting load, plus the RBI inspection findings, plus the customer trust hit that does not show up on the spreadsheet. The math is not close.

Does WAF or EDR replace the patch?

No. WAF and EDR are compensating controls, not replacements. They reduce risk in the window between disclosure and patch, and they are useful when a patch is unavailable or cannot be applied immediately. But the only thing that closes the underlying vulnerability is the vendor patch.

Should I disclose this CVE to my customers?

If you have customer data on the affected system and you have evidence of exploitation, the DPDP Act notification obligation applies. If you patched cleanly with no evidence of exploitation, most legal teams I work with treat this as routine maintenance and do not push a customer notification. Talk to your legal counsel; do not freelance this decision.