CVE-2021-3903
7.8 HIGHvim is vulnerable to Heap-based Buffer Overflow
Published: 2021-10-27 · Last updated: 2026-06-17
Severity and scoring
- CVSS
- 7.8 HIGH
- Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CWE
- CWE-122, CWE-787
Affected products
| Vendor | Product |
|---|---|
| debian | debian_linux, fedora, vim |
| fedoraproject | debian_linux, fedora, vim |
| vim | debian_linux, fedora, vim |
Description
vim is vulnerable to Heap-based Buffer Overflow
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2021-3903
- [Other]http://www.openwall.com/lists/oss-security/2022/01/15/1
- [Patch]https://github.com/vim/vim/commit/777e7c21b7627be80961848ac560cb0a9978ff43
- [Patch]https://huntr.dev/bounties/35738a4f-55ce-446c-b836-2fb0b39625f8
- [Other]https://lists.debian.org/debian-lts-announce/2022/06/msg00014.html
- [Other]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BN4EX7BPQU7RP6PXCNCSDORUZBXQ4JUH/
- [Other]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DU26T75PYA3OF7XJGNKMT2ZCQEU4UKP5/
- [Other]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/
- [Other]http://www.openwall.com/lists/oss-security/2022/01/15/1
- [Patch]https://github.com/vim/vim/commit/777e7c21b7627be80961848ac560cb0a9978ff43
- [Patch]https://huntr.dev/bounties/35738a4f-55ce-446c-b836-2fb0b39625f8
- [Other]https://lists.debian.org/debian-lts-announce/2022/06/msg00014.html
- [Other]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BN4EX7BPQU7RP6PXCNCSDORUZBXQ4JUH/
- [Other]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DU26T75PYA3OF7XJGNKMT2ZCQEU4UKP5/
- [Other]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/
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)