CVE-2022-1381
published 2022-04-18CVE-2022-1381: global heap buffer overflow in skip_range in GitHub repository vim/vim prior to 8.2.4763. This vulnerability is capable of crashing software, Bypass Protection…
PriorityP342high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
3.00%
85.7th percentile
global heap buffer overflow in skip_range in GitHub repository vim/vim prior to 8.2.4763. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | macos | < 13.0 | 13.0 |
| apple | macos_ventura | — | — |
| debian | vim | < vim 2:8.2.4793-1 (bookworm) | vim 2:8.2.4793-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl2_vim_8.2.4925-1_on_cbl_mariner_2.0 | — | — |
| msrc | cm1_vim_8.2.4763-1_on_cbl_mariner_1.0 | — | — |
| vim | vim | < 8.2.4763 | 8.2.4763 |
| vim | vim | >= 0 < 2:8.2.4793-1 | 2:8.2.4793-1 |
| vim | vim | >= 0 < 2:8.2.4793-1 | 2:8.2.4793-1 |
| vim | vim | >= 0 < 2:8.2.4793-1 | 2:8.2.4793-1 |
| vim | vim_vim | >= unspecified < 8.2.4763 | 8.2.4763 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Apple
CVE-2022-1381: macOS Ventura 13
vendor_apple·2022-10-24·CVSS 7.8
CVE-2022-1381 [HIGH] CVE-2022-1381: macOS Ventura 13
Apple Security Update: About the security content of macOS Ventura 13
Product: macOS Ventura
Version: 13
CVE: CVE-2022-1381
Component: CVE-2022-1381
Red Hat
vim: global heap buffer overflow in skip_range
vendor_redhat·2022-04-18·CVSS 7.8
CVE-2022-1381 [HIGH] CWE-787 vim: global heap buffer overflow in skip_range
vim: global heap buffer overflow in skip_range
global heap buffer overflow in skip_range in GitHub repository vim/vim prior to 8.2.4763. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution
A global heap buffer overflow vulnerability was found in vim's skip_range() function of the src/ex_docmd.c file. This flaw occurs because vim uses an invalid pointer with "V:" in Ex mode. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a heap buffer overflow that causes an application to crash, leading to a denial of service.
Statement: The versions of Vim shipped with Red Hat Enterprise Linux are not affected, because there is no presence of vulnerable code in our code-base.
Red Ha
Microsoft
global heap buffer overflow in skip_range in vim/vim
vendor_msrc·2022-04-12·CVSS 7.8
CVE-2022-1381 [HIGH] CWE-122 global heap buffer overflow in skip_range in vim/vim
global heap buffer overflow in skip_range in vim/vim
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
@huntrdev: @huntrdev
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://
Debian
CVE-2022-1381: vim - global heap buffer overflow in skip_range in GitHub repository vim/vim prior to ...
vendor_debian·2022·CVSS 7.8
CVE-2022-1381 [HIGH] CVE-2022-1381: vim - global heap buffer overflow in skip_range in GitHub repository vim/vim prior to ...
global heap buffer overflow in skip_range in GitHub repository vim/vim prior to 8.2.4763. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution
Scope: local
bookworm: resolved (fixed in 2:8.2.4793-1)
bullseye: resolved
forky: resolved (fixed in 2:8.2.4793-1)
sid: resolved (fixed in 2:8.2.4793-1)
trixie: resolved (fixed in 2:8.2.4793-1)
GHSA
GHSA-pq29-2m6m-938v: global heap buffer overflow in skip_range in GitHub repository vim/vim prior to 8
ghsa_unreviewed·2022-04-19
CVE-2022-1381 [HIGH] CWE-122 GHSA-pq29-2m6m-938v: global heap buffer overflow in skip_range in GitHub repository vim/vim prior to 8
global heap buffer overflow in skip_range in GitHub repository vim/vim prior to 8.2.4763. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution
OSV
CVE-2022-1381: global heap buffer overflow in skip_range in GitHub repository vim/vim prior to 8
osv·2022-04-18·CVSS 7.8
CVE-2022-1381 [HIGH] CVE-2022-1381: global heap buffer overflow in skip_range in GitHub repository vim/vim prior to 8
global heap buffer overflow in skip_range in GitHub repository vim/vim prior to 8.2.4763. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
http://seclists.org/fulldisclosure/2022/Oct/28http://seclists.org/fulldisclosure/2022/Oct/41https://github.com/vim/vim/commit/f50808ed135ab973296bca515ae4029b321afe47https://huntr.dev/bounties/55f9c0e8-c221-48b6-a00e-bdcaebaba4a4https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KVPZVE2CIE2NGCHZDMEHPBWN3LK2UQAA/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X6E457NYOIRWBJHKB7ON44UY5AVTG4HU/https://security.gentoo.org/glsa/202208-32https://security.gentoo.org/glsa/202305-16https://support.apple.com/kb/HT213488http://seclists.org/fulldisclosure/2022/Oct/28http://seclists.org/fulldisclosure/2022/Oct/41https://github.com/vim/vim/commit/f50808ed135ab973296bca515ae4029b321afe47https://huntr.dev/bounties/55f9c0e8-c221-48b6-a00e-bdcaebaba4a4https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KVPZVE2CIE2NGCHZDMEHPBWN3LK2UQAA/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X6E457NYOIRWBJHKB7ON44UY5AVTG4HU/https://security.gentoo.org/glsa/202208-32https://security.gentoo.org/glsa/202305-16https://support.apple.com/kb/HT213488
2022-04-18
Published