Heap overwrite via wrapped text-property count
Published Aug 11, 2026 · Updated Aug 11, 2026
Heap buffer overflow in Vim before 9.2.0841 allows context-dependent attackers to corrupt memory via excessive text properties. In prop_add_one() in src/textprop.c, adding a 65,536th property wraps the uint16_t count to zero, allocates no space for property records, and then copies 65,535 existing records past the heap allocation. Exploitation requires a textprop-enabled build and a user-run script or plugin driven by crafted input; the usual result is a crash, while the attacker-influenced write can enable further exploitation.
Summary
What happened
Heap buffer overflow in Vim before 9.2.0841 allows context-dependent attackers to corrupt memory via excessive text properties. In prop_add_one() in src/textprop.c, adding a 65,536th property wraps the uint16_t count to zero, allocates no space for property records, and then copies 65,535 existing records past the heap allocation. Exploitation requires a textprop-enabled build and a user-run script or plugin driven by crafted input; the usual result is a crash, while the attacker-influenced write can enable further exploitation.
The record
- CVE
- CVE-2026-73074
- Published
- Aug 11, 2026
- Updated
- Aug 11, 2026
- Vendor
- Vim
- Product
- Vim
- Classifications
- CWE-190, T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 11, 2026CVE publishedPublication date reported by the CVE source.
- Aug 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 9.2.0841
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo