CVE-2022-1621
Heap buffer overflow in vim_strncpy find_word in vim/vim
02 Description
Heap buffer overflow in vim_strncpy find_word in vim/vim
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 2.38% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 83.4% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-05-09 00:00Z4 YR AGO
- Last updated
- 2024-08-03 00:10Z2 YR AGO
- Reserved
- 2022-05-08
- Assigning CNA
- @huntrdev
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.3)
- CNA CVSS vector
- CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
- Weaknesses
- Data version
- 5.1
- Document digest
- 8f0687f349231361171787fe1f6bb7e18862860b452863871671e1953d96c748
05 Affected products
06 References
- huntr.devhttps://huntr.dev/bounties/520ce714-bfd2-4646-9458-f52cd22bb2fb
- github.comhttps://github.com/vim/vim/commit/7c824682d2028432ee082703ef0ab399867a089b
- lists.debian.org[debian-lts-announce] 20220516 [SECURITY] [DLA 3011-1] vim security updatehttps://lists.debian.org/debian-lts-announce/2022/05/msg00022.html
- lists.fedoraproject.orgFEDORA-2022-8df66cdbefhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIP7KG7TVS5YF3QREAY2GOGUT3YUBZAI/
- security.gentoo.orgGLSA-202208-32https://security.gentoo.org/glsa/202208-32
- support.apple.comhttps://support.apple.com/kb/HT213488
- seclists.org20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13http://seclists.org/fulldisclosure/2022/Oct/41
- seclists.org20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13http://seclists.org/fulldisclosure/2022/Oct/28
- lists.debian.org[debian-lts-announce] 20221124 [SECURITY] [DLA 3204-1] vim security updatehttps://lists.debian.org/debian-lts-announce/2022/11/msg00032.html
- security.gentoo.orgGLSA-202305-16https://security.gentoo.org/glsa/202305-16
07 Fixed in
AlmaLinux 8
- vim-X11 Fixed in 2:8.0.1763-19.el8_6.2
- vim-common Fixed in 2:8.0.1763-19.el8_6.2
- vim-enhanced Fixed in 2:8.0.1763-19.el8_6.2
- vim-filesystem Fixed in 2:8.0.1763-19.el8_6.2
- vim-minimal Fixed in 2:8.0.1763-19.el8_6.2
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- vim-X11 Fixed in 2:8.2.2637-16.el9_0.2
- vim-common Fixed in 2:8.2.2637-16.el9_0.2
- vim-enhanced Fixed in 2:8.2.2637-16.el9_0.2
- vim-filesystem Fixed in 2:8.2.2637-16.el9_0.2
- vim-minimal Fixed in 2:8.2.2637-16.el9_0.2
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- vim-X11 Fixed in 2:8.0.1763-19.el8_6.2
- vim-common Fixed in 2:8.0.1763-19.el8_6.2
- vim-enhanced Fixed in 2:8.0.1763-19.el8_6.2
- vim-filesystem Fixed in 2:8.0.1763-19.el8_6.2
- vim-minimal Fixed in 2:8.0.1763-19.el8_6.2
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- vim-X11 Fixed in 2:8.2.2637-16.el9_0.2
- vim-common Fixed in 2:8.2.2637-16.el9_0.2
- vim-enhanced Fixed in 2:8.2.2637-16.el9_0.2
- vim-filesystem Fixed in 2:8.2.2637-16.el9_0.2
- vim-minimal Fixed in 2:8.2.2637-16.el9_0.2
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- vim Fixed in 2:9.0.0135-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- vim Fixed in 2:9.0.0135-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- vim Fixed in 2:9.0.0135-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- vim Fixed in 2:8.0.1453-1ubuntu1.9
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- vim Fixed in 2:8.1.2269-1ubuntu5.8
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- vim Fixed in 2:8.2.3995-1ubuntu2.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- vim Fixed in 2:7.4.052-1ubuntu3.1+esm5Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- vim Fixed in 2:7.4.1689-3ubuntu1.5+esm6Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.