{
  "cveId": "CVE-2021-3872",
  "url": "https://patchblox.com/security/cve/CVE-2021-3872",
  "summary": "CVE-2021-3872 is fixed in 14 products on 1 platform, first by vim 2:8.1.2269-1ubuntu5.4, released November 5, 2021. It is not reported as exploited. Patch Radar priority: High.",
  "title": "vim-common: Vim (Vi IMproved) is an updated and improved version of the vi editor.\n\nSecurity Fix(es):\n\n* vim: heap-based buffer o...",
  "description": "Vim (Vi IMproved) is an updated and improved version of the vi editor.\n\nSecurity Fix(es):\n\n* vim: heap-based buffer overflow in win_redr_status() in drawscreen.c (CVE-2021-3872)\n\n* vim: illegal memory access in find_start_brace() in cindent.c when C-indenting (CVE-2021-3984)\n\n* vim: heap-based buffer overflow in find_help_tags() in help.c (CVE-2021-4019)\n\n* vim: use-after-free in win_linetabsize() (CVE-2021-4192)\n\n* vim: out-of-bound read in getvcol() (CVE-2021-4193)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.",
  "published": "2021-10-19T06:15:00Z",
  "severity": "Moderate",
  "cvss": 7.8,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
  "epss": 0.01494,
  "epssPercentile": 0.7431,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "vim",
      "release": "Debian 11.6 (bullseye)",
      "fixedVersion": "2:8.2.2434-3\u002Bdeb11u2",
      "fix": "DLA-4097-1",
      "url": "https://patchblox.com/security/fix/linux/dla-4097-1",
      "released": "2025-03-30T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "vim",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2:8.1.2269-1ubuntu5.4",
      "fix": "vim 2:8.1.2269-1ubuntu5.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-vim-2-8.1.2269-1ubuntu5.4",
      "released": "2021-11-05T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "vim",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2:8.2.3565-1ubuntu2",
      "fix": "vim 2:8.2.3565-1ubuntu2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-vim-2-8.2.3565-1ubuntu2",
      "released": "2021-11-05T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "vim",
      "release": "rocky 8",
      "fixedVersion": "2:8.0.1763-16.el8_5.4",
      "fix": "RLSA-2022:0366",
      "url": "https://patchblox.com/security/fix/linux/rlsa-2022-0366",
      "released": "2022-02-01T20:12:46Z"
    },
    {
      "platform": "linux",
      "product": "vim-X11",
      "release": "RHEL 8",
      "fixedVersion": "2:8.0.1763-16.el8_5.4",
      "fix": "RHSA-2022:0366",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2022-0366",
      "released": "2022-02-01T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-X11",
      "release": "almalinux 8",
      "fixedVersion": "2:8.0.1763-16.el8_5.13",
      "fix": "ALSA-2022:0366",
      "url": "https://patchblox.com/security/fix/linux/alsa-2022-0366",
      "released": "2022-02-01T20:12:46Z"
    },
    {
      "platform": "linux",
      "product": "vim-X11",
      "release": "ol 8",
      "fixedVersion": "2:8.0.1763-16.0.1.el8_5.4",
      "fix": "ELSA-2022-0366",
      "url": "https://patchblox.com/security/fix/linux/elsa-2022-0366",
      "released": "2022-02-03T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-athena",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2:8.1.2269-1ubuntu5.4",
      "fix": "vim-athena 2:8.1.2269-1ubuntu5.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-vim-athena-2-8.1.2269-1ubuntu5.4",
      "released": "2021-11-05T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-athena",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2:8.2.3565-1ubuntu2",
      "fix": "vim-athena 2:8.2.3565-1ubuntu2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-vim-athena-2-8.2.3565-1ubuntu2",
      "released": "2021-11-05T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-common",
      "release": "RHEL 8",
      "fixedVersion": "2:8.0.1763-16.el8_5.4",
      "fix": "RHSA-2022:0366",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2022-0366",
      "released": "2022-02-01T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-common",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2:8.1.2269-1ubuntu5.4",
      "fix": "vim-common 2:8.1.2269-1ubuntu5.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-vim-common-2-8.1.2269-1ubuntu5.4",
      "released": "2021-11-05T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-common",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2:8.2.3565-1ubuntu2",
      "fix": "vim-common 2:8.2.3565-1ubuntu2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-vim-common-2-8.2.3565-1ubuntu2",
      "released": "2021-11-05T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-common",
      "release": "almalinux 8",
      "fixedVersion": "2:8.0.1763-16.el8_5.13",
      "fix": "ALSA-2022:0366",
      "url": "https://patchblox.com/security/fix/linux/alsa-2022-0366",
      "released": "2022-02-01T20:12:46Z"
    },
    {
      "platform": "linux",
      "product": "vim-common",
      "release": "ol 8",
      "fixedVersion": "2:8.0.1763-16.0.1.el8_5.4",
      "fix": "ELSA-2022-0366",
      "url": "https://patchblox.com/security/fix/linux/elsa-2022-0366",
      "released": "2022-02-03T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-enhanced",
      "release": "RHEL 8",
      "fixedVersion": "2:8.0.1763-16.el8_5.4",
      "fix": "RHSA-2022:0366",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2022-0366",
      "released": "2022-02-01T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-enhanced",
      "release": "almalinux 8",
      "fixedVersion": "2:8.0.1763-16.el8_5.13",
      "fix": "ALSA-2022:0366",
      "url": "https://patchblox.com/security/fix/linux/alsa-2022-0366",
      "released": "2022-02-01T20:12:46Z"
    },
    {
      "platform": "linux",
      "product": "vim-enhanced",
      "release": "ol 8",
      "fixedVersion": "2:8.0.1763-16.0.1.el8_5.4",
      "fix": "ELSA-2022-0366",
      "url": "https://patchblox.com/security/fix/linux/elsa-2022-0366",
      "released": "2022-02-03T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-filesystem",
      "release": "RHEL 8",
      "fixedVersion": "2:8.0.1763-16.el8_5.4",
      "fix": "RHSA-2022:0366",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2022-0366",
      "released": "2022-02-01T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-filesystem",
      "release": "almalinux 8",
      "fixedVersion": "2:8.0.1763-16.el8_5.13",
      "fix": "ALSA-2022:0366",
      "url": "https://patchblox.com/security/fix/linux/alsa-2022-0366",
      "released": "2022-02-01T20:12:46Z"
    },
    {
      "platform": "linux",
      "product": "vim-filesystem",
      "release": "ol 8",
      "fixedVersion": "2:8.0.1763-16.0.1.el8_5.4",
      "fix": "ELSA-2022-0366",
      "url": "https://patchblox.com/security/fix/linux/elsa-2022-0366",
      "released": "2022-02-03T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-gtk",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2:8.1.2269-1ubuntu5.4",
      "fix": "vim-gtk 2:8.1.2269-1ubuntu5.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-vim-gtk-2-8.1.2269-1ubuntu5.4",
      "released": "2021-11-05T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-gtk",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2:8.2.3565-1ubuntu2",
      "fix": "vim-gtk 2:8.2.3565-1ubuntu2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-vim-gtk-2-8.2.3565-1ubuntu2",
      "released": "2021-11-05T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-gtk3",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2:8.1.2269-1ubuntu5.4",
      "fix": "vim-gtk3 2:8.1.2269-1ubuntu5.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-vim-gtk3-2-8.1.2269-1ubuntu5.4",
      "released": "2021-11-05T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-gtk3",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2:8.2.3565-1ubuntu2",
      "fix": "vim-gtk3 2:8.2.3565-1ubuntu2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-vim-gtk3-2-8.2.3565-1ubuntu2",
      "released": "2021-11-05T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-gui-common",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2:8.1.2269-1ubuntu5.4",
      "fix": "vim-gui-common 2:8.1.2269-1ubuntu5.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-vim-gui-common-2-8.1.2269-1ubuntu5.4",
      "released": "2021-11-05T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-gui-common",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2:8.2.3565-1ubuntu2",
      "fix": "vim-gui-common 2:8.2.3565-1ubuntu2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-vim-gui-common-2-8.2.3565-1ubuntu2",
      "released": "2021-11-05T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-minimal",
      "release": "RHEL 8",
      "fixedVersion": "2:8.0.1763-16.el8_5.4",
      "fix": "RHSA-2022:0366",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2022-0366",
      "released": "2022-02-01T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-minimal",
      "release": "almalinux 8",
      "fixedVersion": "2:8.0.1763-16.el8_5.13",
      "fix": "ALSA-2022:0366",
      "url": "https://patchblox.com/security/fix/linux/alsa-2022-0366",
      "released": "2022-02-01T20:12:46Z"
    },
    {
      "platform": "linux",
      "product": "vim-minimal",
      "release": "ol 8",
      "fixedVersion": "2:8.0.1763-16.0.1.el8_5.4",
      "fix": "ELSA-2022-0366",
      "url": "https://patchblox.com/security/fix/linux/elsa-2022-0366",
      "released": "2022-02-03T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-nox",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2:8.1.2269-1ubuntu5.4",
      "fix": "vim-nox 2:8.1.2269-1ubuntu5.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-vim-nox-2-8.1.2269-1ubuntu5.4",
      "released": "2021-11-05T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-nox",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2:8.2.3565-1ubuntu2",
      "fix": "vim-nox 2:8.2.3565-1ubuntu2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-vim-nox-2-8.2.3565-1ubuntu2",
      "released": "2021-11-05T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-runtime",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2:8.1.2269-1ubuntu5.4",
      "fix": "vim-runtime 2:8.1.2269-1ubuntu5.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-vim-runtime-2-8.1.2269-1ubuntu5.4",
      "released": "2021-11-05T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-runtime",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2:8.2.3565-1ubuntu2",
      "fix": "vim-runtime 2:8.2.3565-1ubuntu2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-vim-runtime-2-8.2.3565-1ubuntu2",
      "released": "2021-11-05T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-tiny",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2:8.1.2269-1ubuntu5.4",
      "fix": "vim-tiny 2:8.1.2269-1ubuntu5.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-vim-tiny-2-8.1.2269-1ubuntu5.4",
      "released": "2021-11-05T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "vim-tiny",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2:8.2.3565-1ubuntu2",
      "fix": "vim-tiny 2:8.2.3565-1ubuntu2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-vim-tiny-2-8.2.3565-1ubuntu2",
      "released": "2021-11-05T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "xxd",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2:8.1.2269-1ubuntu5.4",
      "fix": "xxd 2:8.1.2269-1ubuntu5.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-xxd-2-8.1.2269-1ubuntu5.4",
      "released": "2021-11-05T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "xxd",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2:8.2.3565-1ubuntu2",
      "fix": "xxd 2:8.2.3565-1ubuntu2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-xxd-2-8.2.3565-1ubuntu2",
      "released": "2021-11-05T08:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}