CVE-2024-22667

Vim before 9.0.2142 has a stack-based buffer overflow because did_set_langmap in map.c calls sprintf to write to the error buffer that is passed down to the option callback functions.
Configurations

Configuration 1 (hide)

cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*

History

05 Feb 2025, 17:29

Type Values Removed Values Added
First Time Fedoraproject fedora
Fedoraproject
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UI44Y4LJLG34D4HNB6NTPLUPZREHAEL7/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UI44Y4LJLG34D4HNB6NTPLUPZREHAEL7/ - Third Party Advisory
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UIQLVUSYHDN3644K6EFDI7PRZOTIKXM3/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UIQLVUSYHDN3644K6EFDI7PRZOTIKXM3/ - Third Party Advisory
References () https://security.netapp.com/advisory/ntap-20240223-0008/ - () https://security.netapp.com/advisory/ntap-20240223-0008/ - Third Party Advisory
CPE cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*

21 Nov 2024, 08:56

Type Values Removed Values Added
References () https://gist.githubusercontent.com/henices/2467e7f22dcc2aa97a2453e197b55a0c/raw/7b54bccc9a129c604fb139266f4497ab7aaa94c7/gistfile1.txt - Exploit, Third Party Advisory () https://gist.githubusercontent.com/henices/2467e7f22dcc2aa97a2453e197b55a0c/raw/7b54bccc9a129c604fb139266f4497ab7aaa94c7/gistfile1.txt - Exploit, Third Party Advisory
References () https://github.com/vim/vim/commit/b39b240c386a5a29241415541f1c99e2e6b8ce47 - Patch () https://github.com/vim/vim/commit/b39b240c386a5a29241415541f1c99e2e6b8ce47 - Patch
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UI44Y4LJLG34D4HNB6NTPLUPZREHAEL7/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UI44Y4LJLG34D4HNB6NTPLUPZREHAEL7/ -
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UIQLVUSYHDN3644K6EFDI7PRZOTIKXM3/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UIQLVUSYHDN3644K6EFDI7PRZOTIKXM3/ -
References () https://security.netapp.com/advisory/ntap-20240223-0008/ - () https://security.netapp.com/advisory/ntap-20240223-0008/ -

23 Feb 2024, 16:15

Type Values Removed Values Added
References
  • () https://security.netapp.com/advisory/ntap-20240223-0008/ -

15 Feb 2024, 03:15

Type Values Removed Values Added
References
  • () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UIQLVUSYHDN3644K6EFDI7PRZOTIKXM3/ -

15 Feb 2024, 02:15

Type Values Removed Values Added
References
  • () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UI44Y4LJLG34D4HNB6NTPLUPZREHAEL7/ -

14 Feb 2024, 19:49

Type Values Removed Values Added
CPE cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
CWE CWE-787
First Time Vim
Vim vim
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
References () https://gist.githubusercontent.com/henices/2467e7f22dcc2aa97a2453e197b55a0c/raw/7b54bccc9a129c604fb139266f4497ab7aaa94c7/gistfile1.txt - () https://gist.githubusercontent.com/henices/2467e7f22dcc2aa97a2453e197b55a0c/raw/7b54bccc9a129c604fb139266f4497ab7aaa94c7/gistfile1.txt - Exploit, Third Party Advisory
References () https://github.com/vim/vim/commit/b39b240c386a5a29241415541f1c99e2e6b8ce47 - () https://github.com/vim/vim/commit/b39b240c386a5a29241415541f1c99e2e6b8ce47 - Patch

05 Feb 2024, 13:54

Type Values Removed Values Added
Summary
  • (es) Vim anterior a 9.0.2142 tiene un desbordamiento de búfer en la región stack de la memoria porque did_set_langmap en map.c llama a sprintf para escribir en el búfer de error que se pasa a las funciones de devolución de llamada de opción.

05 Feb 2024, 08:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-02-05 08:15

Updated : 2025-02-05 17:29


NVD link : CVE-2024-22667

Mitre link : CVE-2024-22667

CVE.ORG link : CVE-2024-22667


JSON object : View

Products Affected

fedoraproject

  • fedora

vim

  • vim
CWE
CWE-787

Out-of-bounds Write