Skip to main content
Mallory
HighVulnerability

CVE-2026-28421: Heap buffer overflow in Vim swap-file recovery

Published Feb 27, 2026 · Updated 10 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days5 mentions · peak 3 in a dayToday
CVSS7.8High · v3.1
EPSS0.24%9th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Vim
IdentifiersCVE-2026-28421CWE-122 · Heap-based Buffer Overflow

CVE-2026-28421 is a heap-based buffer overflow in the swap-file recovery logic of Vim versions before 9.2.0077. Unvalidated fields in crafted swap-file pointer blocks can trigger a heap buffer overflow and segmentation fault when Vim attempts recovery. Exploitation can cause denial of service and information disclosure. Vim 9.2.0077 fixes the vulnerability.

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.

A crafted swap file can crash the Vim process during recovery, disrupting the editing session, and can expose information through invalid memory access. Arbitrary code execution is not established for this vulnerability.

Mitigation

If you can’t patch tonight, do this now.

No vulnerability-specific temporary workaround is documented. Applying the fixed Vim package is the recommended resolution.

Remediation

Patch, then assume compromise.

Upgrade upstream Vim to version 9.2.0077 or later, or install the distribution-specific package update containing the backported fix. Fixed distribution releases include Debian trixie package 2:9.1.1230-2+deb13u1 and Echo package 2:9.2.0218-1. For other packaged or bundled installations, apply the applicable vendor security update rather than relying solely on the upstream version number.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
VimVimapplication
FAQ

Frequently asked questions

Is CVE-2026-28421 exploited in the wild?
As of Nov 19, 2026, Mallory has no reports of CVE-2026-28421 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-28421?
As of Nov 19, 2026, Mallory has found no public exploit for CVE-2026-28421.
Is there a patch for CVE-2026-28421?
Upgrade upstream Vim to version 9.2.0077 or later, or install the distribution-specific package update containing the backported fix. Fixed distribution releases include Debian trixie package 2:9.1.1230-2+deb13u1 and Echo package 2:9.2.0218-1.
What products are affected by CVE-2026-28421?
Vim.
How severe is CVE-2026-28421?
CVE-2026-28421 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.24% (9th percentile) as of Nov 19, 2026.
Activity feed

Recent activity

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

View more in app →
+26 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 activity4Community discussion across Reddit, Mastodon, and other social sources.