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-45306

published medium CVSS 3.1 · 4.5

heap-buffer-overflow in Vim

Published
02 Sep 2024, 16:35:17 UTC
Updated
04 Oct 2024, 15:02:51 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
vim — vim>= 9.1.0038, < 9.1.0707 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
SUSE / openSUSE SLE-12-SP5 vimx86_64 Advisory build 9.1.1101-17.41.1 SUSE-SU-2025:0722-1
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
Show 39 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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. Patch v9.1.0038 optimized how the cursor position is calculated and removed a loop, that verified that the cursor position always points inside a line and does not become invalid by pointing beyond the end of a line. Back then we assumed this loop is unnecessary. However, this change made it possible that the cursor position stays invalid and points beyond the end of a line, which would eventually cause a heap-buffer-overflow when trying to access the line pointer at the specified cursor position. It's not quite clear yet, what can lead to this situation that the cursor points to an invalid position. That's why patch v9.1.0707 does not include a test case. The only observed impact has been a program crash. This issue has been addressed in with the patch v9.1.0707. All users are advised to upgrade.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

5

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 >= 9.1.0038, < 9.1.0707 (affected) GitHub_M · cna

Weaknesses

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

References

4

Provider assertions

3

GitHub_M · cna

heap-buffer-overflow in Vim

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
f5900a247ac88e67794811684d9ff68604e33651f4261961248da6457509eb14
Ingested
23 Sep 2026, 08:27:47 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