CVE-2024-43790
mediumpriority · track · 22EPSS 0.003 · 23 %ileDEEURUUSEPSS · scored 2026-10-27
Vim is an open source command line text editor. When performing a search and displaying the search-count message is disabled (:set shm+=S), the search pattern is displayed at the bottom of the screen in a buffer (msgbuf). When right-left mode (:set rl) is enabled, the search pattern is reversed. This happens by allocating a new buffer. If the search pattern contains some ASCII NUL characters, the buffer allocated will be smaller than the original allocated buffer (because for allocating the reversed buffer, the strlen() function is called, which only counts until it notices an ASCII NUL byte ) and thus the original length indicator is wrong. This causes an overflow when accessing characters inside the msgbuf by the previously (now wrong) length of the msgbuf. The issue has been fixed as of Vim patch v9.1.0689.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (11)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-1907vim: Schwachstelle ermöglicht Denial of ServiceDeutsch2024-08-22csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in vim ausnutzen, um einen Denial of Service Angriff durchzuführen.
- WID-SEC-W-2025-1439Dell Secure Connect Gateway: Mehrere Schwachstellen ermöglichen nicht spezifizierten AngriffDeutsch2025-06-30csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Dell Secure Connect Gateway ausnutzen, um einen nicht näher spezifizierten Angriff durchzuführen.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2024-43790cnnvd
- https://cxsecurity.com/cveshow/CVE-2024-43790/cnnvd
- https://github.com/vim/vim/commit/cacb6693c10bb19f28a50eca47bccnnvd
- https://github.com/vim/vim/security/advisories/GHSA-v2x2-cjcg-f9jmcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2024-43790cnnvd
- https://security.netapp.com/advisory/ntap-20240920-0005/cnnvd
- https://github.com/vim/vim/commit/cacb6693c10bb19f28a50eca47bcenisa_euvd
- https://github.com/vim/vim/security/advisories/GHSA-v2x2-cjcg-f9jmenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan