CVE-2021-4019

HIGH
Published Dec 1, 20214y ago · Modified Jun 17, 20262w ago
7.8 CVSS 3.1
High
Find Similar
Published Dec 1, 2021 4y ago
Last Modified Jun 17, 2026 2w ago

Description

vim is vulnerable to Heap-based Buffer Overflow

CVSS Details

Base Score
7.8
Exploitability
1.8
Impact
5.9
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

No active exploitation signals — not in CISA KEV and no EPSS score yet.

Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 2

CWE-122
CWE-787 Out-of-bounds Write Memory Safety

Affected Products 7

VendorProductVersionRange
neovimneovim* <0.7.0
vimvim* <8.2.3669
fedoraprojectfedora34any
fedoraprojectfedora35any
debiandebian_linux9.0any
debiandebian_linux10.0any
debiandebian_linux11.0any

References 9

  • openwall.com http://www.openwall.com/lists/oss-security/2022/01/15/1
    Mailing ListThird Party Advisory
  • github.com https://github.com/vim/vim/commit/bd228fd097b41a798f90944b5d1245eddd484142
    PatchThird Party Advisory
  • huntr.dev https://huntr.dev/bounties/d8798584-a6c9-4619-b18f-001b9a6fca92
    ExploitThird Party Advisory
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html
    Mailing ListThird Party Advisory
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html
    Mailing ListThird Party Advisory
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html
    Third Party Advisory
  • lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DRPAI5JVZLI7WHWSBR6NWAPBQAYUQREW/
    Broken LinkThird Party Advisory
  • lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/
    Broken LinkThird Party Advisory
  • security.gentoo.org https://security.gentoo.org/glsa/202208-32
    Third Party Advisory

Remediation

  • github.com https://github.com/vim/vim/commit/bd228fd097b41a798f90944b5d1245eddd484142
    PatchThird Party Advisory