CVE-2026-73074
Received Received - Intake

Heap-based Buffer Overflow in Vim Text Editor

Vulnerability report for CVE-2026-73074, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-11

Last updated on: 2026-08-11

Assigner: GitHub, Inc.

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-11
Last Modified
2026-08-11
Generated
2026-08-11
AI Q&A
2026-08-11
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
vim vim 9.2.0841
vim vim to 9.2.0841 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-73074 is a heap buffer overflow in Vim versions before 9.2.0841. It occurs when the number of text properties on a line exceeds 65,535, causing an integer overflow that wraps the count to zero. This leads to an undersized buffer being allocated while existing properties are copied into it, resulting in a heap overflow.

Detection Guidance

To detect this vulnerability, check the Vim version on your system using the command: vim --version | grep 'IMproved'. If the version is below 9.2.0841 and the textprop feature is enabled, the system may be vulnerable. Additionally, monitor for crashes or unusual behavior when processing files with many text properties.

Impact Analysis

This vulnerability could allow an attacker to crash Vim or execute arbitrary code by tricking a user into opening a malicious file or script. It requires Vim to be built with the textprop feature and the attacker to add 65,536 text properties to a single line.

Mitigation Strategies

Immediately update Vim to version 9.2.0841 or later. If updating is not possible, disable the textprop feature by recompiling Vim without the huge feature set. Avoid using untrusted Vim scripts or plugins that process external data until the update is applied.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-73074. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart