CVE-2022-0213: Heap-based Buffer Overflow in vim/vim
Last updated 24 July 2024
Other sources
vim is vulnerable to Heap-based Buffer Overflow
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/vimto a version that resolves this vulnerability.Fixed in 2:9.0.1378-2+deb12u2Fixed in 2:9.1.1230-1
Event History
Frequently Asked Questions
What is CVE-2022-0213?
CVE-2022-0213 is a vulnerability in vim that allows for heap-based buffer overflow.
How does CVE-2022-0213 impact vim?
CVE-2022-0213 allows an attacker to execute arbitrary code or crash the application.
Which versions of vim are affected by CVE-2022-0213?
Versions 8.2.4074 of vim on Ubuntu, 2:7.4.1689-3ubuntu1.5+ on Ubuntu Xenial, 2:8.0.1453-1ubuntu1.13 on Ubuntu Bionic, 2:8.1.2269-1ubuntu5.14 on Ubuntu Focal, 2:8.2.3995-1ubuntu2.7 on Ubuntu Jammy, 2:7.4.052-1ubuntu3.1+ on Ubuntu Trusty, and 2:8.1.0875-5+deb10u5, 2:9.0.1378-2, and 2:9.0.1894-1 on Debian are affected by CVE-2022-0213.
How severe is CVE-2022-0213?
CVE-2022-0213 is a critical vulnerability with a Common Vulnerability Scoring System (CVSS) score of 9.8 out of 10.
How can I fix CVE-2022-0213?
To fix CVE-2022-0213, it is recommended to update to version 8.2.4074 of vim on Ubuntu, 2:7.4.1689-3ubuntu1.5+ on Ubuntu Xenial, 2:8.0.1453-1ubuntu1.13 on Ubuntu Bionic, 2:8.1.2269-1ubuntu5.14 on Ubuntu Focal, 2:8.2.3995-1ubuntu2.7 on Ubuntu Jammy, 2:7.4.052-1ubuntu3.1+ on Ubuntu Trusty, and 2:8.1.0875-5+deb10u5, 2:9.0.1378-2, or 2:9.0.1894-1 on Debian, depending on the affected version.