CVE-2022-2288
published 2022-07-03CVE-2022-2288: Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.
PriorityP336high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
1.35%
67.9th percentile
Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | vim | < vim 2:9.0.0135-1 (bookworm) | vim 2:9.0.0135-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl2_vim_9.0.0050-2_on_cbl_mariner_2.0 | — | — |
| msrc | cm1_vim_9.0.0050-1_on_cbl_mariner_1.0 | — | — |
| vim | vim | < 9.0.0025 | 9.0.0025 |
| 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_vim | >= unspecified < 9.0 | 9.0 |
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:L/PR:N/UI:R/S:U/C:H/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.
Microsoft
Out-of-bounds Write in vim/vim
vendor_msrc·2022-07-12·CVSS 7.8
CVE-2022-2288 [HIGH] CWE-787 Out-of-bounds Write in vim/vim
Out-of-bounds Write 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/en
Red Hat
vim: out of bounds write in parse_command_modifiers() at ex_docmd.c
vendor_redhat·2022-07-03·CVSS 7.8
CVE-2022-2288 [HIGH] CWE-787 vim: out of bounds write in parse_command_modifiers() at ex_docmd.c
vim: out of bounds write in parse_command_modifiers() at ex_docmd.c
Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.
Statement: Red Hat Product Security has rated this issue as having a Low security impact, because the "victim" has to run an untrusted file IN SCRIPT MODE. Someone who is running untrusted files in script mode is equivalent to someone just taking a random python script and running it.
For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/
Mitigation: Untrusted vim scripts with -s [scriptin] are not recommended to run.
Package: vim (Red Hat Enterprise Linux 6) - Out of support scope
Package: vim (Red Hat Enterprise Linux 7) - Out of support scope
Package: vim (Red Hat Enterprise Li
Debian
CVE-2022-2288: vim - Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.
vendor_debian·2022·CVSS 7.8
CVE-2022-2288 [HIGH] CVE-2022-2288: vim - Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.
Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.
Scope: local
bookworm: resolved (fixed in 2:9.0.0135-1)
bullseye: resolved
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)
GHSA
GHSA-9fj8-8x6q-5x7m: Out-of-bounds Write in GitHub repository vim/vim prior to 9
ghsa_unreviewed·2022-07-04
CVE-2022-2288 [HIGH] CWE-787 GHSA-9fj8-8x6q-5x7m: Out-of-bounds Write in GitHub repository vim/vim prior to 9
Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.
OSV
CVE-2022-2288: Out-of-bounds Write in GitHub repository vim/vim prior to 9
osv·2022-07-03·CVSS 7.8
CVE-2022-2288 [HIGH] CVE-2022-2288: Out-of-bounds Write in GitHub repository vim/vim prior to 9
Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/vim/vim/commit/c6fdb15d423df22e1776844811d082322475e48ahttps://huntr.dev/bounties/a71bdcb7-4e9b-4650-ab6a-fe8e3e9852adhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/43Y3VJPOTTY3NTREDIFUPITM2POG4ZLP/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UXPO5EHDV6J4B27E65DOQGZFELUFPRSK/https://security.gentoo.org/glsa/202208-32https://security.gentoo.org/glsa/202305-16https://github.com/vim/vim/commit/c6fdb15d423df22e1776844811d082322475e48ahttps://huntr.dev/bounties/a71bdcb7-4e9b-4650-ab6a-fe8e3e9852adhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/43Y3VJPOTTY3NTREDIFUPITM2POG4ZLP/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UXPO5EHDV6J4B27E65DOQGZFELUFPRSK/https://security.gentoo.org/glsa/202208-32https://security.gentoo.org/glsa/202305-16
2022-07-03
Published