CVE-2022-1725 json
NULL Pointer Dereference in vim/vim
published 2022-05-16 4 y ago modified 2026-11-02 6 d ago also EUVD-2022-25007
- cvss
- 6.6
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
NULL Pointer Dereference in GitHub repository vim/vim prior to 8.2.4959.
Patch / fix
- vim vim/vim 8.2.4959
- vim Debian 14, Debian 13, Debian 12 2:9.0.0135-1
debian advisories DEBIAN-CVE-2022-1725
- vim Ubuntu 20.04 LTS 2:8.1.2269-1ubuntu5.21
- vim Ubuntu 22.04 LTS 2:8.2.3995-1ubuntu2.15
- vim Ubuntu Pro 16.04 LTS 2:7.4.1689-3ubuntu1.5+esm13
- vim Ubuntu Pro 18.04 LTS 2:8.0.1453-1ubuntu1.13+esm7
ubuntu advisories UBUNTU-CVE-2022-1725
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/vim/vim@b62dc5e commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-1725 updated cvss 5.5
vim: null pointer dereference in vim_regexec_string() at regexp.c
-
Red Hat Enterprise Linux 9 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystemaffected: workaround, no fix available “Untrusted vim scripts with -s [scriptin] are not recommended to run.”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel9under investigation
-
Red Hat Enterprise Linux 6 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 7 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 8 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystemnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 31 d ago
Exploit prediction
0.52% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.dev https://huntr.dev/bounties/4363cf07-233e-4d0a-a1d5-c731a400525c referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 6.6 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected products
- vim vim/vim
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
github.com
/vim/vim/commit/b62dc5e7825bc195efe3041d5b3a9f1528359e1c
patch, third-party-advisory
-
huntr.dev
/bounties/4363cf07-233e-4d0a-a1d5-c731a400525c
exploit, third-party-advisory
-
security.gentoo.org
/glsa/202305-16
vendor-advisory, third-party-advisory
-
support.apple.com
/kb/HT213488
release-notes, third-party-advisory
-
seclists.org
/fulldisclosure/2022/Oct/41
mailing-list, release-notes, third-party-advisory
-
seclists.org
/fulldisclosure/2022/Oct/28
mailing-list, third-party-advisory
Sources
- CVE List CVE-2022-1725
- NVD CVE-2022-1725
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.