CVE-2026-73074

Vim: Heap Buffer Overflow in Text Property Handling

Published Aug 11, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The flaw is a heap buffer overflow that occurs when the property count in Vim’s text‑property handling exceeds 0xffff. In prop_add_one() the code copies existing property records into an allocation sized for none of them, causing a wrap of a uint16_t counter to zero and corruption of heap memory. This overflow can be leveraged to execute arbitrary code locally or cause a denial of service by crashing the editor.

Affected Systems

Vim, the open‑source command line text editor, is affected in all releases prior to 9.2.0841.

Risk and Exploitability

The CVSS base score of 7.1 indicates high severity. No EPSS rating is available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack path involves an attacker supplying crafted input that triggers the addition of more than 65535 text properties while running Vim locally. While the description does not explicitly prove remote exploitation, the classic heap overflow nature suggests that an attacker with local or compromised shell privileges could elevate privileges or execute code.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Vim to 9.2.0841 or any later release where the heap overflow is fixed.
  • If upgrading immediately is not possible, disable or remove any plugins that use text properties heavily until the upgrade can be applied or a formal workaround is published.
  • Regularly monitor Vim’s official security advisories and apply any additional patches or guidance as they become available.

Generated by OpenCVE AI on August 11, 2026 at 23:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:H'}

cvssV3_1

{'score': 6.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Vim
Vim vim
Vendors & Products Vim
Vim vim
Type Values Removed Values Added
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.
Title Vim: Heap Buffer Overflow in Text Property Handling
Weaknesses CWE-190
References
Metrics cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 12, 2026, 10:14 PM
Reserved
Aug 10, 2026, 7:37 PM
Status
Analyzed
Published
Aug 11, 2026, 4:17 PM
Modified
Nov 5, 2026, 3:55 PM
Severity
Moderate
Public date
Aug 11, 2026, 3:35 PM