# UBUNTU-CVE-2024-43790

- Priority: **Insufficient evidence**
- Reason: No CVSS vector published; no exploitation reported by the 5 checked sources
- Next step: Check the vendor advisory
- Status: published
- Published: 2024-08-22 · Modified: 2026-02-05
- Record: https://cvemate.com/vulnerability/UBUNTU-CVE-2024-43790 · JSON: https://cvemate.com/vulnerability/UBUNTU-CVE-2024-43790/json

## Description

```text
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.
```

## Signals

- CVSS: none published
- EPSS: not scored
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu vim (Ubuntu): All versions (No fix recorded)

## References

- <https://ubuntu.com/security/CVE-2024-43790>
- <https://www.cve.org/CVERecord?id=CVE-2024-43790>
- <https://github.com/vim/vim/security/advisories/GHSA-v2x2-cjcg-f9jm>
- <https://github.com/vim/vim/commit/cacb6693c10bb19f28a50eca47bc>

---

Data as of 2026-12-05T11:17:46.554Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
