# CVE-2022-1674: NULL Pointer Dereference in function vim\_regexec\_string at regexp.c:2733 in vim/vim

- Priority: **Routine**
- Reason: Not severe (CVSS 6.6, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-05-12 · Modified: 2026-10-08
- Aliases: UBUNTU-CVE-2022-1674, DEBIAN-CVE-2022-1674
- Record: https://cvemate.com/vulnerability/CVE-2022-1674 · JSON: https://cvemate.com/vulnerability/CVE-2022-1674/json

## Description

```text
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.
```

## Signals

- CVSS: 6.6 medium (v3.0, CVE.org) CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
- EPSS: 1.559%, percentile 76.081%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- apple macos: \< 13.0
- debian vim (Debian): \< 2:9.0.0135-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm8 \| \< 2:7.4.1689-3ubuntu1.5+esm13 \| \< 2:8.0.1453-1ubuntu1.12 \| \< 2:8.1.2269-1ubuntu5.13 \| \< 2:8.2.3995-1ubuntu2.5
- fedoraproject fedora: 34 \| 35 \| 36
- vim vim: \< 8.2.4938
- vim vim/vim: ≥ unspecified, \< 8.2.4938

## References

- <https://huntr.dev/bounties/a74ba4a4-7a39-4a22-bde3-d2f8ee07b385>
- <https://github.com/vim/vim/commit/a59f2dfd0cf9ee1a584d3de5b7c2d47648e79060>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODXVYZC5Z4XRRZK7CK6B6IURYVYHA25U/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IUPOLEX5GXC733HL4EFYMHFU7NISJJZG/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFAZTAT5CZC2R6KYDYA2HBAVEDSIX6MW/>
- <https://security.gentoo.org/glsa/202208-32>
- <https://support.apple.com/kb/HT213488>
- <http://seclists.org/fulldisclosure/2022/Oct/41>
- <http://seclists.org/fulldisclosure/2022/Oct/28>
- <https://security.gentoo.org/glsa/202305-16>
- <https://ubuntu.com/security/CVE-2022-1674>
- <https://ubuntu.com/security/notices/USN-5723-1>
- <https://ubuntu.com/security/notices/USN-5995-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-1674>
- <https://security-tracker.debian.org/tracker/CVE-2022-1674>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-1674>

---

Data as of 2026-12-05T04:20:10.404Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
