CVE-2022-2257
published 2022-06-30CVE-2022-2257: Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.
PriorityP434high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
1.33%
67.5th percentile
Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.
Affected
19 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 | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | cm1_vim_9.0.0050-1_on_cbl_mariner_1.0 | — | — |
| vim | vim | < 9.0.0009 | 9.0.0009 |
| 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.16 | 2:8.1.2269-1ubuntu5.16 |
| vim | vim | >= 0 < 2:8.2.3995-1ubuntu2.10 | 2:8.2.3995-1ubuntu2.10 |
| vim | vim | >= 0 < 2:7.4.052-1ubuntu3.1+esm11 | 2:7.4.052-1ubuntu3.1+esm11 |
| vim | vim | >= 0 < 2:7.4.1689-3ubuntu1.5+esm19 | 2:7.4.1689-3ubuntu1.5+esm19 |
| vim | vim | >= 0 < 2:8.0.1453-1ubuntu1.13+esm3 | 2:8.0.1453-1ubuntu1.13+esm3 |
| 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.8LOW
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu7.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.
Red Hat
kernel: media: i2c: dw9714: Disable the regulator when the driver fails to probe
vendor_redhat·2025-02-26·CVSS 5.5
CVE-2022-49528 [MEDIUM] kernel: media: i2c: dw9714: Disable the regulator when the driver fails to probe
kernel: media: i2c: dw9714: Disable the regulator when the driver fails to probe
In the Linux kernel, the following vulnerability has been resolved:
media: i2c: dw9714: Disable the regulator when the driver fails to probe
When the driver fails to probe, we will get the following splat:
[ 59.305988] ------------[ cut here ]------------
[ 59.306417] WARNING: CPU: 2 PID: 395 at drivers/regulator/core.c:2257 _regulator_put+0x3ec/0x4e0
[ 59.310345] RIP: 0010:_regulator_put+0x3ec/0x4e0
[ 59.318362] Call Trace:
[ 59.318582]
[ 59.318765] regulator_put+0x1f/0x30
[ 59.319058] devres_release_group+0x319/0x3d0
[ 59.319420] i2c_device_probe+0x766/0x940
Fix this by disabling the regulator in error handling.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterpri
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2023-08-03·CVSS 7.8
CVE-2022-2208 [HIGH] Vim vulnerabilities
Title: Vim vulnerabilities
Summary: Several security issues were fixed in Vim.
It was discovered that Vim incorrectly handled memory when opening certain
files. If an attacker could trick a user into opening a specially crafted
file, it could cause Vim to crash, or possibly execute arbitrary code. This
issue only affected Ubuntu 22.04 LTS. (CVE-2022-2182)
It was discovered that Vim incorrectly handled memory when deleting buffers
in diff mode. An attacker could possibly use this issue to cause a denial
of service. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS.
(CVE-2022-2208)
It was discovered that Vim incorrectly handled memory access. An attacker
could possibly use this issue to cause the corruption of sensitive
information, a crash, or arbitrary code execution. This
Red Hat
vim: an out-of-bound read in function msg_outtrans_special
vendor_redhat·2022-06-30·CVSS 7.8
CVE-2022-2257 [HIGH] CWE-125 vim: an out-of-bound read in function msg_outtrans_special
vim: an out-of-bound read in function msg_outtrans_special
Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.
A flaw was found in vim, which is vulnerable to an out-of-bounds read in the msg_outtrans_special function. This flaw allows a specially crafted file to crash software or execute code when opened in vim.
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/
Package: vim (Red Hat Enterprise Linux 6) - Not affect
Microsoft
Out-of-bounds Read in vim/vim
vendor_msrc·2022-06-14·CVSS 7.8
CVE-2022-2257 [HIGH] CWE-125 Out-of-bounds Read in vim/vim
Out-of-bounds Read 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-
Debian
CVE-2022-2257: vim - Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.
vendor_debian·2022·CVSS 7.8
CVE-2022-2257 [HIGH] CVE-2022-2257: vim - Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.
Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.
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)
OSV
vim vulnerabilities
osv·2023-08-03·CVSS 7.8
CVE-2022-2182 [HIGH] vim vulnerabilities
vim vulnerabilities
It was discovered that Vim incorrectly handled memory when opening certain
files. If an attacker could trick a user into opening a specially crafted
file, it could cause Vim to crash, or possibly execute arbitrary code. This
issue only affected Ubuntu 22.04 LTS. (CVE-2022-2182)
It was discovered that Vim incorrectly handled memory when deleting buffers
in diff mode. An attacker could possibly use this issue to cause a denial
of service. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS.
(CVE-2022-2208)
It was discovered that Vim incorrectly handled memory access. An attacker
could possibly use this issue to cause the corruption of sensitive
information, a crash, or arbitrary code execution. This issue only affected
Ubuntu 14.04 LTS, Ubuntu 18.04 LTS, Ubu
GHSA
GHSA-2j44-59r4-mjvh: Out-of-bounds Read in GitHub repository vim/vim prior to 9
ghsa_unreviewed·2022-07-01
CVE-2022-2257 [HIGH] CWE-125 GHSA-2j44-59r4-mjvh: Out-of-bounds Read in GitHub repository vim/vim prior to 9
Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.
OSV
CVE-2022-2257: Out-of-bounds Read in GitHub repository vim/vim prior to 9
osv·2022-06-30·CVSS 7.8
CVE-2022-2257 [HIGH] CVE-2022-2257: Out-of-bounds Read in GitHub repository vim/vim prior to 9
Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.
No detection rules found.
No public exploits indexed.
https://github.com/vim/vim/commit/083692d598139228e101b8c521aaef7bcf256e9ahttps://huntr.dev/bounties/ca581f80-03ba-472a-b820-78f7fd05fe89https://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/083692d598139228e101b8c521aaef7bcf256e9ahttps://huntr.dev/bounties/ca581f80-03ba-472a-b820-78f7fd05fe89https://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-06-30
Published