PT-2024-2722
CVE-2024-22667
·
تاريخ النشر
2024-02-05
·
تاريخ التحديث
2026-10-16
الوصف من
CVSS 3.1
7.8
عاليةالمقاييسAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Vim versions prior to 9.0.2142
Description
The issue is related to a stack-based buffer overflow in the
did set langmap() function of the Vim text editor. This overflow occurs because did set langmap in map.c calls sprintf to write to the error buffer that is passed down to the option callback functions. Exploitation of this issue may allow an attacker to execute arbitrary code.Recommendations
For versions prior to 9.0.2142, update to version 9.0.2142 or later to resolve the issue. As a temporary workaround, consider restricting the use of the
did set langmap() function in map.c until a patch is applied. Additionally, be cautious when using the sprintf function to write to the error buffer, as it may lead to a stack-based buffer overflow.قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾