CVE-2022-1886
CVE-2022-1886 · Heap-based Buffer Overflow in vim/vim
CVSS 7.1 · High · EPSS 1.4% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- vim/vimUpdate to 8.2
- vim Alpine 3.17Update to 8.2.5055-r0
- vim Alpine 3.18Update to 8.2.5055-r0
- vim Alpine 3.19Update to 8.2.5055-r0
- and 9 more
Check the installed version:
apk list -I -o vimAssess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2024:12337-1 · openSUSE Tumbleweed ·
- USN-6557-1 · Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS ·
Stack: system
Affected products and versions
vim/vim
- Versions
- ≥ unspecified, < 8.2: Affected (custom)
Update to 8.2
vim Alpine 3.17
- Affected ranges
- ECOSYSTEM: < 8.2.5055-r0
Update to 8.2.5055-r0
vim Alpine 3.18
- Affected ranges
- ECOSYSTEM: < 8.2.5055-r0
Update to 8.2.5055-r0
vim Alpine 3.19
- Affected ranges
- ECOSYSTEM: < 8.2.5055-r0
Update to 8.2.5055-r0
vim Alpine 3.20
- Affected ranges
- ECOSYSTEM: < 8.2.5055-r0
Update to 8.2.5055-r0
vim Alpine 3.21
- Affected ranges
- ECOSYSTEM: < 8.2.5055-r0
Update to 8.2.5055-r0
vim Alpine 3.22
- Affected ranges
- ECOSYSTEM: < 8.2.5055-r0
Update to 8.2.5055-r0
vim Alpine 3.23
- Affected ranges
- ECOSYSTEM: < 8.2.5055-r0
Update to 8.2.5055-r0
vim Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 8.2.5055-r0
Update to 8.2.5055-r0
vim Debian 12
- Affected ranges
- ECOSYSTEM: < 2:9.0.0135-1
Update to 2:9.0.0135-1
vim Debian 13
- Affected ranges
- ECOSYSTEM: < 2:9.0.0135-1
Update to 2:9.0.0135-1
vim Debian 14
- Affected ranges
- ECOSYSTEM: < 2:9.0.0135-1
Update to 2:9.0.0135-1
vim Ubuntu 22.04 LTS
- Versions
- 2:8.2.2434-3ubuntu3
- 2:8.2.2434-3ubuntu4
- 2:8.2.3565-1ubuntu1
- 2:8.2.3565-1ubuntu2
- 2:8.2.3565-1ubuntu3
- 2:8.2.3565-1ubuntu5
All versions (19)
- 2:8.2.3995-1ubuntu1
- 2:8.2.3995-1ubuntu2
- 2:8.2.3995-1ubuntu2.1
- 2:8.2.3995-1ubuntu2.3
- 2:8.2.3995-1ubuntu2.4
- 2:8.2.3995-1ubuntu2.5
- 2:8.2.3995-1ubuntu2.7
- 2:8.2.3995-1ubuntu2.8
- 2:8.2.3995-1ubuntu2.9
- 2:8.2.3995-1ubuntu2.10
- 2:8.2.3995-1ubuntu2.11
- 2:8.2.3995-1ubuntu2.12
- 2:8.2.3995-1ubuntu2.13
- Affected ranges
- ECOSYSTEM: < 2:8.2.3995-1ubuntu2.15
Update to 2:8.2.3995-1ubuntu2.15
Original sources
- https://huntr.dev/bounties/fa0ad526-b608-45b3-9ebc-f2b607834d6a
- https://github.com/vim/vim/commit/2a585c85013be22f59f184d49612074fd9b115d7
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TYNK6SDCMOLQJOI3B4AOE66P2G2IH4ZM/
- https://security.gentoo.org/glsa/202208-32
- https://security.gentoo.org/glsa/202305-16
- https://nvd.nist.gov/vuln/detail/CVE-2022-1886