CVE-2022-1674
Medium
Description
NULL Pointer Dereference in function vim_regexec_string at regexp.c:2733 in GitHub repository vim/vim prior to 8.2.4938. NULL Pointer Dereference in function vim_regexec_string at regexp.c:2733 allows attackers to cause a denial of service (application crash) via a crafted input.
SeverityMedium
CVSS5.5
Exploit probability—
Product
Vim
PublishedMay 12, 2022
First seenMay 12, 2022
Weakness typeCWE-476NULL pointer dereference
How to fix
Update
- vim vim8.2.4938 or later
- apple macos13.0 or later
Vendor advisories
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODXVYZC5Z4XRRZK7CK6B6IURYVYHA25U/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IUPOLEX5GXC733HL4EFYMHFU7NISJJZG/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFAZTAT5CZC2R6KYDYA2HBAVEDSIX6MW/
- security.gentoo.org/glsa/202208-32
- security.gentoo.org/glsa/202305-16
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vim vim | v < 8.2.4938 | 8.2.4938 |
| 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.