VDB

CVE-2026-45130

CVE-2026-45130 PUBLISHED CVSS 6.6 MEDIUM

Vim: Heap Buffer Overflow in spell file loading

Reported by github_m · Published May 8, 2026

Vim is an open source, command line text editor. Prior to version 9.2.0450, a heap buffer overflow exists in read_compound() in src/spellfile.c when loading a crafted spell file (.spl) with UTF-8 encoding active. An attacker-controlled length field in the spell file's compound section overflows a 32-bit signed integer multiplication, causing a small buffer to be allocated for a write loop that runs many iterations, overflowing the heap. Because the 'spelllang' option can be set from a modeline, a text file modeline can trigger spell file loading if a malicious .spl file has been planted on the runtimepath. This issue has been patched in version 9.2.0450.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
xxdAmazon Linux2:9.2.597-1.amzn2023.0.1
vimvim9.2.0450

Risk scores

CVSS 3.1
6.6
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H

Affected products

VendorProductVersions
vimvim< 9.2.0450
amazon:2023xxd0
amazon:2023vim-default-editor0
amazon:2023vim-filesystem0
amazon:2023vim-data0
amazon:2023vim-common0
alpinevim0
vimvim0
amazon:2023vim-minimal0
amazon:2023vim-enhanced0

Timeline

  • May 8, 2026 CVE Published
  • May 10, 2026 Security Advisory (38 in total, the first dated here)
  • May 18, 2026 EPSS Score (30 in total, the first dated here)
  • Aug 8, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-45130
vulnetix vdb fixes CVE-2026-45130

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-45130/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›