Integer overflow in Vim
CVE-2026-73074
Vim is an open source, command line text editor. Prior to 9.2.0841, prop_add_one() in src/textprop.c uses the proplen value from get_text_props() to increment a uint16_t property count beyond 0xffff, wrapping the count to zero and copying existing text-property records into a heap allocation sized for none of them. This issue is fixed in version 9.2.0841.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.7 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.001, 0.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Vim — versions < 9.2.0841
Weakness classification (CWE)
References
- github.com/vim/vim/security/advisories/GHSA-hm4g-pjfx-m27j (Patch, Vendor Advisory)
- github.com/vim/vim/commit/a9336b476fd1a182e3f79b5f83c0ffb04f8a922b (Patch)