Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-43790

published medium CVSS 3.1 · 4.5

heap-buffer-overflow in do_search() in Vim < 9.1.0689

Published
22 Aug 2024, 21:23:07 UTC
Updated
20 Sep 2024, 16:03:12 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
vim — vim< v9.1.0689 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Alpine Linux edge vim Fixed 9.1.0707-r0 Package fix record
SUSE / openSUSE SLE-12-SP5 vimx86_64 Advisory build 9.1.1101-17.41.1 SUSE-SU-2025:0722-1
Alpine Linux v3.20 vim Fixed 9.1.0707-r0 Package fix record
Alpine Linux v3.21 vim Fixed 9.1.0707-r0 Package fix record
Alpine Linux v3.22 vim Fixed 9.1.0707-r0 Package fix record
Show 45 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.23 vim Fixed 9.1.0707-r0 Package fix record
Alpine Linux v3.24 vim Fixed 9.1.0707-r0 Package fix record
SUSE / openSUSE SLE-15-SP6 vimaarch64 Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE SLE-15-SP6 vimppc64le Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE SLE-15-SP6 vims390x Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE SLE-15-SP6 vimx86_64 Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE openSUSE-Leap-15.6 vimaarch64 Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE openSUSE-Leap-15.6 vimppc64le Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE openSUSE-Leap-15.6 vims390x Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE openSUSE-Leap-15.6 vimx86_64 Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE SLE-12-SP5 gvimx86_64 Advisory build 9.1.1101-17.41.1 SUSE-SU-2025:0722-1
SUSE / openSUSE SLE-12-SP5 vim-datanoarch Advisory build 9.1.1101-17.41.1 SUSE-SU-2025:0722-1
SUSE / openSUSE SLE-12-SP5 vim-data-commonnoarch Advisory build 9.1.1101-17.41.1 SUSE-SU-2025:0722-1
SUSE / openSUSE SLE-15-SP6 gvimaarch64 Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE SLE-15-SP6 gvimppc64le Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE SLE-15-SP6 gvims390x Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE SLE-15-SP6 gvimx86_64 Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE SLE-15-SP6 vim-datanoarch Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE SLE-15-SP6 vim-data-commonnoarch Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE SLE-15-SP6 vim-smallaarch64 Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE SLE-15-SP6 vim-smallppc64le Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE SLE-15-SP6 vim-smalls390x Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE SLE-15-SP6 vim-smallx86_64 Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE SLE-5 vim-data-commonnoarch Advisory build 9.1.1101-150000.5.69.1 SUSE-SU-2025:0724-1
SUSE / openSUSE SLE-5 vim-data-commonnoarch Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE SLE-5 vim-smallaarch64 Advisory build 9.1.1101-150000.5.69.1 SUSE-SU-2025:0724-1
SUSE / openSUSE SLE-5 vim-smallaarch64 Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE SLE-5 vim-smallppc64le Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE SLE-5 vim-smalls390x Advisory build 9.1.1101-150000.5.69.1 SUSE-SU-2025:0724-1
SUSE / openSUSE SLE-5 vim-smalls390x Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE SLE-5 vim-smallx86_64 Advisory build 9.1.1101-150000.5.69.1 SUSE-SU-2025:0724-1
SUSE / openSUSE SLE-5 vim-smallx86_64 Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE SLE-5 xxdaarch64 Advisory build 9.1.1101-150000.5.69.1 SUSE-SU-2025:0724-1
SUSE / openSUSE SLE-5 xxds390x Advisory build 9.1.1101-150000.5.69.1 SUSE-SU-2025:0724-1
SUSE / openSUSE SLE-5 xxdx86_64 Advisory build 9.1.1101-150000.5.69.1 SUSE-SU-2025:0724-1
SUSE / openSUSE openSUSE-Leap-15.6 gvimaarch64 Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE openSUSE-Leap-15.6 gvimppc64le Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE openSUSE-Leap-15.6 gvims390x Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE openSUSE-Leap-15.6 gvimx86_64 Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE openSUSE-Leap-15.6 vim-datanoarch Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE openSUSE-Leap-15.6 vim-data-commonnoarch Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE openSUSE-Leap-15.6 vim-smallaarch64 Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE openSUSE-Leap-15.6 vim-smallppc64le Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE openSUSE-Leap-15.6 vim-smalls390x Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1
SUSE / openSUSE openSUSE-Leap-15.6 vim-smallx86_64 Advisory build 9.1.1101-150500.20.21.1 SUSE-SU-2025:0723-1

Description

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

11

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
4.5 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
vim vim < v9.1.0689 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-122 CWE-122: Heap-based Buffer Overflow (GitHub_M · cna)

References

3

Provider assertions

3

GitHub_M · cna

heap-buffer-overflow in do_search() in Vim < 9.1.0689

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
45de151ac02f4876f34dd5c6fa76aa39d389f7bcbe6b170525c4a1509d3860f2
Ingested
23 Sep 2026, 08:27:16 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected