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

- Severity: Medium 6.6 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.56%, higher than 75% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-05-12T00:00:00.000Z
- Modified: 2026-10-08T22:17:15.813Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: @huntrdev

## 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.

(As written by CVE List.)

## Affected

- vim vim/vim: from unspecified before 8.2.4938
- vim vim: before 8.2.4938
- fedoraproject fedora: 34; 35; 36
- apple macos: before 13.0

## Every score

- @huntrdev: CVSS:3.0 6.6 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://huntr.dev/bounties/a74ba4a4-7a39-4a22-bde3-d2f8ee07b385> (exploit, patch, third-party-advisory)
- <https://github.com/vim/vim/commit/a59f2dfd0cf9ee1a584d3de5b7c2d47648e79060> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODXVYZC5Z4XRRZK7CK6B6IURYVYHA25U/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IUPOLEX5GXC733HL4EFYMHFU7NISJJZG/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFAZTAT5CZC2R6KYDYA2HBAVEDSIX6MW/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202208-32> (third-party-advisory, vendor-advisory)
- <https://support.apple.com/kb/HT213488> (release-notes, third-party-advisory)
- <http://seclists.org/fulldisclosure/2022/Oct/41> (mailing-list, release-notes, third-party-advisory)
- <http://seclists.org/fulldisclosure/2022/Oct/28> (mailing-list)
- <https://security.gentoo.org/glsa/202305-16> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-1674](https://www.cve.org/CVERecord?id=CVE-2022-1674), CVE Terms of Use, modified 2026-10-08
- NVD: [CVE-2022-1674](https://nvd.nist.gov/vuln/detail/CVE-2022-1674), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2022-1674 · Whole record: https://cve.day/CVE-2022-1674.json · Rebuilt by cve.day 2026-11-25T22:58:11.639Z
