Editor crash via uninitialized fuzzy-match arrays
Published Apr 29, 2023 · Updated Oct 15, 2024
Out-of-range pointer use in Vim before 9.0.1499 allows local users to crash the editor through crafted fuzzy-match input. The fuzzy_match_recursive and vgr_match_buflines paths use match-position arrays before initialization, so malformed patterns drive reads from indeterminate offsets. Triggering the affected path requires a local Vim invocation that evaluates the crafted pattern; the demonstrated consequence is process interruption, not established code execution.
Summary
What happened
Out-of-range pointer use in Vim before 9.0.1499 allows local users to crash the editor through crafted fuzzy-match input. The fuzzy_match_recursive and vgr_match_buflines paths use match-position arrays before initialization, so malformed patterns drive reads from indeterminate offsets. Triggering the affected path requires a local Vim invocation that evaluates the crafted pattern; the demonstrated consequence is process interruption, not established code execution.
The record
- CVE
- CVE-2023-2426
- Published
- Apr 29, 2023
- Updated
- Oct 15, 2024
- Vendor
- Vim
- Product
- Vim
- Classifications
- CWE-823, CAPEC-129
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Apr 29, 2023CVE publishedPublication date reported by the CVE source.
- Oct 15, 2024Record 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=unspecified <9.0.1499
What conditions does exploitation require?
What is affected?
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.
Public exploit references
- Huntr fuzzy-matching proof of conceptproof of concept · unverified
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