CVE-2022-1771
published 2022-05-18CVE-2022-1771: Uncontrolled Recursion in GitHub repository vim/vim prior to 8.2.4975.
PriorityP418medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
1.16%
63.2th percentile
Uncontrolled Recursion in GitHub repository vim/vim prior to 8.2.4975.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | vim | < vim 2:9.0.0135-1 (bookworm) | vim 2:9.0.0135-1 (bookworm) |
| msrc | cbl2_vim_8.2.5064-1_on_cbl_mariner_2.0 | — | — |
| msrc | cm1_vim_8.2.5064-1_on_cbl_mariner_1.0 | — | — |
| vim | vim | < 8.2.4975 | 8.2.4975 |
| vim | vim | >= 0 < 2:9.0.0135-1 | 2:9.0.0135-1 |
| vim | vim | >= 0 < 2:9.0.0135-1 | 2:9.0.0135-1 |
| vim | vim | >= 0 < 2:9.0.0135-1 | 2:9.0.0135-1 |
| vim | vim | >= 0 < 2:8.1.2269-1ubuntu5.21 | 2:8.1.2269-1ubuntu5.21 |
| vim | vim | >= 0 < 2:8.2.3995-1ubuntu2.15 | 2:8.2.3995-1ubuntu2.15 |
| vim | vim | >= 0 < 2:7.4.052-1ubuntu3.1+esm15 | 2:7.4.052-1ubuntu3.1+esm15 |
| vim | vim | >= 0 < 2:7.4.1689-3ubuntu1.5+esm22 | 2:7.4.1689-3ubuntu1.5+esm22 |
| vim | vim | >= 0 < 2:8.0.1453-1ubuntu1.13+esm7 | 2:8.0.1453-1ubuntu1.13+esm7 |
| vim | vim_vim | >= unspecified < 8.2.4975 | 8.2.4975 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv3.05.5MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_debian5.5LOW
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
vendor_ubuntu5.5MEDIUM
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.
OSV
vim vulnerabilities
osv·2023-12-14·CVSS 5.5
CVE-2022-1725 [MEDIUM] vim vulnerabilities
vim vulnerabilities
It was discovered that Vim could be made to dereference invalid memory. An
attacker could possibly use this issue to cause a denial of service. This
issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04
LTS. (CVE-2022-1725)
It was discovered that Vim could be made to recurse infinitely. An
attacker could possibly use this issue to cause a denial of service. This
issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-1771)
It was discovered that Vim could be made to write out of bounds with a put
command. An attacker could possibly use this issue to cause a denial of
service or execute arbitrary code. This issue only affected Ubuntu 22.04
LTS. (CVE-2022-1886)
It was discovered tha
GHSA
GHSA-vppj-q42f-96w5: Stack-based Buffer Overflow in GitHub repository vim/vim prior to 8
ghsa_unreviewed·2022-05-19
CVE-2022-1771 [MEDIUM] CWE-674 GHSA-vppj-q42f-96w5: Stack-based Buffer Overflow in GitHub repository vim/vim prior to 8
Stack-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
OSV
CVE-2022-1771: Uncontrolled Recursion in GitHub repository vim/vim prior to 8
osv·2022-05-18·CVSS 5.5
CVE-2022-1771 [MEDIUM] CVE-2022-1771: Uncontrolled Recursion in GitHub repository vim/vim prior to 8
Uncontrolled Recursion in GitHub repository vim/vim prior to 8.2.4975.
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2023-12-14·CVSS 5.5
CVE-2023-48706 [MEDIUM] Vim vulnerabilities
Title: Vim vulnerabilities
Summary: Several security issues were fixed in Vim.
It was discovered that Vim could be made to dereference invalid memory. An
attacker could possibly use this issue to cause a denial of service. This
issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04
LTS. (CVE-2022-1725)
It was discovered that Vim could be made to recurse infinitely. An
attacker could possibly use this issue to cause a denial of service. This
issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-1771)
It was discovered that Vim could be made to write out of bounds with a put
command. An attacker could possibly use this issue to cause a denial of
service or execute arbitrary code. This issue only affec
Red Hat
vim: recursive command line loop may cause a Stack-based Buffer Overflow
vendor_redhat·2022-05-18·CVSS 5.5
CVE-2022-1771 [MEDIUM] CWE-119 vim: recursive command line loop may cause a Stack-based Buffer Overflow
vim: recursive command line loop may cause a Stack-based Buffer Overflow
Uncontrolled Recursion in GitHub repository vim/vim prior to 8.2.4975.
A flaw was found in vim. The vulnerability occurs due to Illegal memory access and leads to a stack-based buffer overflow vulnerability. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution.
Mitigation: Untrusted vim scripts with -s [scriptin] are not recommended to run.
Package: vim (Red Hat Enterprise Linux 6) - Not affected
Package: vim (Red Hat Enterprise Linux 7) - Not affected
Package: vim (Red Hat Enterprise Linux 8) - Not affected
Package: vim (Red Hat Enterprise Linux 9) - Not affected
Package: vim (Red Hat Virtualization 4) - Not affected
Microsoft
Uncontrolled Recursion in vim/vim
vendor_msrc·2022-05-10·CVSS 5.5
CVE-2022-1771 [MEDIUM] CWE-674 Uncontrolled Recursion in vim/vim
Uncontrolled Recursion 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://learn.microsoft.com
Debian
CVE-2022-1771: vim - Uncontrolled Recursion in GitHub repository vim/vim prior to 8.2.4975.
vendor_debian·2022·CVSS 5.5
CVE-2022-1771 [MEDIUM] CVE-2022-1771: vim - Uncontrolled Recursion in GitHub repository vim/vim prior to 8.2.4975.
Uncontrolled Recursion in GitHub repository vim/vim prior to 8.2.4975.
Scope: local
bookworm: resolved (fixed in 2:9.0.0135-1)
bullseye: open
forky: resolved (fixed in 2:9.0.0135-1)
sid: resolved (fixed in 2:9.0.0135-1)
trixie: resolved (fixed in 2:9.0.0135-1)
No detection rules found.
No public exploits indexed.
https://github.com/vim/vim/commit/51f0bfb88a3554ca2dde777d78a59880d1ee37a8https://huntr.dev/bounties/faa74175-5317-4b71-a363-dfc39094ecbbhttps://security.gentoo.org/glsa/202208-32https://security.gentoo.org/glsa/202305-16https://github.com/vim/vim/commit/51f0bfb88a3554ca2dde777d78a59880d1ee37a8https://huntr.dev/bounties/faa74175-5317-4b71-a363-dfc39094ecbbhttps://security.gentoo.org/glsa/202208-32https://security.gentoo.org/glsa/202305-16
2022-05-18
Published