Vulnerabilities · 2021 · Vim
CVE-2021-3872
Vim vulnerability
vim is vulnerable to Heap-based Buffer Overflow
Affected products
Vim, Fedora, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Vim runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/vim/vim/commit/826bfe4bbd7594188e3d74d2539d9707b1c6a14b · Patch
- huntr.dev/bounties/c958013b-1c09-4939-92ca-92f50aa169e8 · Exploit
- lists.debian.org/debian-lts-announce/2022/03/msg00018.html · Third Party Advisory
- security.gentoo.org/glsa/202208-32 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S
- lists.debian.org/debian-lts-announce/2025/03/msg00023.html
- nvd.nist.gov/vuln/detail/CVE-2021-3872
- cve.org/CVERecord?id=CVE-2021-3872
More vulnerabilities in Vim products
CVE-2025-66476CVE-2025-55158CVE-2025-55157CVE-2025-53906CVE-2025-53905CVE-2025-29768CVE-2025-27423CVE-2025-26603All 205
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.