synced 7 MIN AGO
01 Record

CVE-2021-3872

Heap-based Buffer Overflow in vim/vim

HighPUBLISHEDCNA: @huntrdev
CNA base score7.8 CVSS v3.xCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

02 Description

Heap-based Buffer Overflow in vim/vim

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
1.49% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 73.9% of scored records. A rank, not a probability.
NVD base score
7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2021-10-19 12:30Z5 YR AGO
Last updated
2025-11-03 20:33Z11 MO AGO
Reserved
2021-10-08
Assigning CNA
@huntrdev
Record state
PUBLISHED
Severity
High (CVSS 7.8)
CNA CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
  • CWE-122Heap-based Buffer OverflowVariant
  • CWE-787Out-of-bounds WriteBase
Data version
5.2
Document digest
5f4fa4fd1d8c5d9e06270359ce8d435e312d497071276fc1deac99d1d9aee9dc

05 Affected products

VendorProductVersionsPlatforms
vimvim/vim< 8.2.3487—

06 References

07 Fixed in

AlmaLinux 8

  • vim-X11
    Fixed in 2:8.0.1763-16.el8_5.13
  • vim-common
    Fixed in 2:8.0.1763-16.el8_5.13
  • vim-enhanced
    Fixed in 2:8.0.1763-16.el8_5.13
  • vim-filesystem
    Fixed in 2:8.0.1763-16.el8_5.13
  • vim-minimal
    Fixed in 2:8.0.1763-16.el8_5.13

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Arch Linux

  • gvim
    Fixed in 8.2.3582-1
  • vim
    Fixed in 8.2.3582-1

Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.

CloudLinux 8

  • vim-X11
    Fixed in 2:8.0.1763-16.el8_5.13
  • vim-common
    Fixed in 2:8.0.1763-16.el8_5.13
  • vim-enhanced
    Fixed in 2:8.0.1763-16.el8_5.13
  • vim-filesystem
    Fixed in 2:8.0.1763-16.el8_5.13
  • vim-minimal
    Fixed in 2:8.0.1763-16.el8_5.13

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • vim
    Fixed in 2:8.2.3565-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • vim
    Fixed in 2:8.2.3565-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • vim
    Fixed in 2:8.2.3565-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • vim
    Fixed in 2:8.1.2269-1ubuntu5.4

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • vim
    Fixed in 2:8.2.3565-1ubuntu2

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.