CVE-2022-1620
High
Description
NULL Pointer Dereference in function vim_regexec_string at regexp.c:2729 in GitHub repository vim/vim prior to 8.2.4901. NULL Pointer Dereference in function vim_regexec_string at regexp.c:2729 allows attackers to cause a denial of service (application crash) via a crafted input.
SeverityHigh
CVSS7.5
Exploit probability—
Product
Vim
PublishedMay 8, 2022
First seenMay 8, 2022
Weakness typeCWE-476NULL pointer dereference
How to fix
Update
- vim vim8.2.4901 or later
- apple macos13.0 or later
Vendor advisories
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A6BY5P7ERZS7KXSBCGFCOXLMLGWUUJIH/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JUN33257RUM4RS2I4GZETKFSAXPETATG/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIP7KG7TVS5YF3QREAY2GOGUT3YUBZAI/
- security.gentoo.org/glsa/202208-32
- security.gentoo.org/glsa/202305-16
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vim vim | v < 8.2.4901 | 8.2.4901 |
| fedoraproject fedora | 34, 35, 36 | — |
| apple macos | v < 13.0 | 13.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.