CVE-2021-3875
5.5 MEDIUMvim is vulnerable to Heap-based Buffer Overflow
Published: 2021-10-15 · Last updated: 2026-06-17
Severity and scoring
- CVSS
- 5.5 MEDIUM
- Vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CWE
- CWE-122, CWE-787
Affected products
| Vendor | Product |
|---|---|
| fedoraproject | fedora, vim |
| vim | fedora, vim |
Description
vim is vulnerable to Heap-based Buffer Overflow
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2021-3875
- [Other]http://www.openwall.com/lists/oss-security/2022/01/15/1
- [Patch]https://github.com/vim/vim/commit/35a319b77f897744eec1155b736e9372c9c5575f
- [Exploit reference]https://huntr.dev/bounties/5cdbc168-6ba1-4bc2-ba6c-28be12166a53
- [Other]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7K4JJBIH3OQSZRVTWKCJCDLGMFGQ5DOH/
- [Other]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S42L4Z4DTW4LHLQ4FJ33VEOXRCBE7WN4/
- [Other]https://security.gentoo.org/glsa/202208-32
- [Other]http://www.openwall.com/lists/oss-security/2022/01/15/1
- [Patch]https://github.com/vim/vim/commit/35a319b77f897744eec1155b736e9372c9c5575f
- [Exploit reference]https://huntr.dev/bounties/5cdbc168-6ba1-4bc2-ba6c-28be12166a53
- [Other]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7K4JJBIH3OQSZRVTWKCJCDLGMFGQ5DOH/
- [Other]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S42L4Z4DTW4LHLQ4FJ33VEOXRCBE7WN4/
- [Other]https://security.gentoo.org/glsa/202208-32
Related CVEs
Same vendor
- CVE-2026-52860 — Vim is an open source, command line text editor (7.8 HIGH)
- CVE-2026-52859 — Vim is an open source, command line text editor (8.2 HIGH)
- CVE-2026-52858 — Vim is an open source, command line text editor (7.8 HIGH)
- CVE-2026-47167 — Vim is an open source, command line text editor (5.3 MEDIUM)
- CVE-2026-47162 — Vim is an open source, command line text editor (8.8 HIGH)
Same CWE
- CVE-2026-47750 — stable-diffusion.cpp is a pure C/C++ library for running diffusion model (Stable Diffusion, Flux, Wan, Qwen Image, Z-Image, and more) inf... (7.8 HIGH)
- CVE-2026-47747 — stable-diffusion.cpp is a pure C/C++ library for running diffusion model (Stable Diffusion, Flux, Wan, Qwen Image, Z-Image, and more) inf... (7.8 HIGH)
- CVE-2026-47964 — DNG SDK versions 1.7.1 2536 and earlier are affected by a Heap-based Buffer Overflow vulnerability that could result in arbitrary code ex... (7.8 HIGH)
- CVE-2026-47749 — stable-diffusion.cpp is a pure C/C++ library for running diffusion model (Stable Diffusion, Flux, Wan, Qwen Image, Z-Image, and more) inf... (7.8 HIGH)
- CVE-2026-12314 — Memory safety bug fixed in Thunderbird 152 (7.5 HIGH)