CVE-2024-45306
mediumpriority · track · 22EPSS 0.003 · 22 %ileDEEUUSEPSS · scored 2026-10-27
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.
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 (7)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-1968vim: Schwachstelle ermöglicht Denial of ServiceDeutsch2024-09-01csaf · 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 (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2024-45306cnnvd
- https://cxsecurity.com/cveshow/CVE-2024-45306/cnnvd
- https://github.com/vim/vim/commit/396fd1ec2956307755392a1cnnvd
- https://github.com/vim/vim/releases/tag/v9.1.0038cnnvd
- https://github.com/vim/vim/releases/tag/v9.1.0707Patchcnnvd
- https://github.com/vim/vim/security/advisories/GHSA-wxf9-c5gx-qrwrcnnvd
- https://vigilance.fr/vulnerability/Apple-iOS-macOS-multiple-vulnerabilities-dated-11-12-2024-45882cnnvd
- https://github.com/vim/vim/commit/396fd1ec2956307755392a1enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan