p PatchFirst

CVE-2021-4192

CVE-2021-4192 · Use After Free in vim/vim

CVSS 5.5 · Medium · EPSS 1.8% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • vim/vimUpdate to 8.2
  • vim Alpine 3.12Update to 8.2.4173-r0
  • vim Alpine 3.13Update to 8.2.4173-r0
  • vim Alpine 3.14Update to 8.2.4173-r0
  • and 17 more

Check the installed version:

apk list -I -o vim

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

vim is vulnerable to Use After Free

Published
Updated

Fixes in distributions

  • RHSA-2022:0366 · Red Hat Enterprise Linux 8 appstream, Red Hat Enterprise Linux 8 baseos ·
  • USN-6026-1 · Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu Pro 14.04 LTS ·
  • SUSE-SU-2022:4619-1 · SUSE Linux Enterprise Server 12 SP2-BCL, SUSE Linux Enterprise Server 12 SP3-BCL, SUSE Linux Enterprise Server 12 SP4-LTSS, SUSE Linux Enterprise Server 12 SP5, SUSE Linux Enterprise Server for SAP Applications 12 SP4, SUSE Linux Enterprise Server for SAP Applications 12 SP5, SUSE OpenStack Cloud 9, SUSE OpenStack Cloud Crowbar 9 ·
  • DLA-3182-1 · Debian 10 ·
  • SUSE-SU-2022:2102-1 · openSUSE Leap 15.3, openSUSE Leap 15.4, SUSE Enterprise Storage 6, SUSE Enterprise Storage 7, SUSE Linux Enterprise High Performance Computing 15-ESPOS, SUSE Linux Enterprise High Performance Computing 15-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, SUSE Linux Enterprise Micro 5.1, SUSE Linux Enterprise Micro 5.2, SUSE Linux Enterprise Module for Basesystem 15 SP3, SUSE Linux Enterprise Module for Basesystem 15 SP4, SUSE Linux Enterprise Module for Desktop Applications 15 SP3, SUSE Linux Enterprise Module for Desktop Applications 15 SP4, SUSE Linux Enterprise Server 15-LTSS, SUSE Linux Enterprise Server 15 SP1-BCL, SUSE Linux Enterprise Server 15 SP1-LTSS, SUSE Linux Enterprise Server 15 SP2-BCL, SUSE Linux Enterprise Server 15 SP2-LTSS, SUSE Linux Enterprise Server for SAP Applications 15, SUSE Linux Enterprise Server for SAP Applications 15 SP1, SUSE Linux Enterprise Server for SAP Applications 15 SP2, SUSE Manager Proxy 4.1, SUSE Manager Retail Branch Server 4.1, SUSE Manager Server 4.1 ·
  • USN-5433-1 · Ubuntu Pro 16.04 LTS ·
  • DLA-2947-1 · Debian 9 ·
  • ALSA-2022:0366 · AlmaLinux 8 ·
  • RLSA-2022:0366 · Rocky Linux 8 ·

Stack: system

Affected products and versions

  • vim/vim

    Versions
    • ≥ unspecified, < 8.2: Affected (custom)

    Update to 8.2

  • vim Alpine 3.12

    Affected ranges
    • ECOSYSTEM: < 8.2.4173-r0

    Update to 8.2.4173-r0

  • vim Alpine 3.13

    Affected ranges
    • ECOSYSTEM: < 8.2.4173-r0

    Update to 8.2.4173-r0

  • vim Alpine 3.14

    Affected ranges
    • ECOSYSTEM: < 8.2.4173-r0

    Update to 8.2.4173-r0

  • vim Alpine 3.15

    Affected ranges
    • ECOSYSTEM: < 8.2.4173-r0

    Update to 8.2.4173-r0

  • vim Alpine 3.16

    Affected ranges
    • ECOSYSTEM: < 8.2.4173-r0

    Update to 8.2.4173-r0

  • vim Alpine 3.17

    Affected ranges
    • ECOSYSTEM: < 8.2.4173-r0

    Update to 8.2.4173-r0

  • vim Alpine 3.18

    Affected ranges
    • ECOSYSTEM: < 8.2.4173-r0

    Update to 8.2.4173-r0

  • vim Alpine 3.19

    Affected ranges
    • ECOSYSTEM: < 8.2.4173-r0

    Update to 8.2.4173-r0

  • vim Alpine 3.20

    Affected ranges
    • ECOSYSTEM: < 8.2.4173-r0

    Update to 8.2.4173-r0

  • vim Alpine 3.21

    Affected ranges
    • ECOSYSTEM: < 8.2.4173-r0

    Update to 8.2.4173-r0

  • vim Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 8.2.4173-r0

    Update to 8.2.4173-r0

  • vim Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 8.2.4173-r0

    Update to 8.2.4173-r0

  • vim Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 8.2.4173-r0

    Update to 8.2.4173-r0

  • vim Debian 12

    Affected ranges
    • ECOSYSTEM: < 2:8.2.3995-1

    Update to 2:8.2.3995-1

  • vim Debian 13

    Affected ranges
    • ECOSYSTEM: < 2:8.2.3995-1

    Update to 2:8.2.3995-1

  • vim Debian 14

    Affected ranges
    • ECOSYSTEM: < 2:8.2.3995-1

    Update to 2:8.2.3995-1

  • vim Ubuntu Pro 14.04 LTS

    Versions
    • 2:7.4.000-1ubuntu2
    • 2:7.4.052-1ubuntu1
    • 2:7.4.052-1ubuntu2
    • 2:7.4.052-1ubuntu3
    • 2:7.4.052-1ubuntu3.1
    • 2:7.4.052-1ubuntu3.1+esm1
    All versions (12)
    • 2:7.4.052-1ubuntu3.1+esm3
    • 2:7.4.052-1ubuntu3.1+esm4
    • 2:7.4.052-1ubuntu3.1+esm5
    • 2:7.4.052-1ubuntu3.1+esm6
    • 2:7.4.052-1ubuntu3.1+esm7
    • 2:7.4.052-1ubuntu3.1+esm8
    Affected ranges
    • ECOSYSTEM: < 2:7.4.052-1ubuntu3.1+esm9

    Update to 2:7.4.052-1ubuntu3.1+esm9

  • vim Ubuntu Pro 16.04 LTS

    Versions
    • 2:7.4.712-2ubuntu4
    • 2:7.4.826-1ubuntu1
    • 2:7.4.826-1ubuntu2
    • 2:7.4.826-1ubuntu3
    • 2:7.4.963-1ubuntu1
    • 2:7.4.963-1ubuntu4
    All versions (15)
    • 2:7.4.963-1ubuntu5
    • 2:7.4.1689-3ubuntu1
    • 2:7.4.1689-3ubuntu1.1
    • 2:7.4.1689-3ubuntu1.2
    • 2:7.4.1689-3ubuntu1.3
    • 2:7.4.1689-3ubuntu1.4
    • 2:7.4.1689-3ubuntu1.5
    • 2:7.4.1689-3ubuntu1.5+esm2
    • 2:7.4.1689-3ubuntu1.5+esm3
    Affected ranges
    • ECOSYSTEM: < 2:7.4.1689-3ubuntu1.5+esm4

    Update to 2:7.4.1689-3ubuntu1.5+esm4

  • vim Ubuntu 18.04 LTS

    Versions
    • 2:8.0.0197-4ubuntu5
    • 2:8.0.1144-1ubuntu1
    • 2:8.0.1401-1ubuntu1
    • 2:8.0.1401-1ubuntu2
    • 2:8.0.1401-1ubuntu3
    • 2:8.0.1453-1ubuntu1
    All versions (16)
    • 2:8.0.1453-1ubuntu1.1
    • 2:8.0.1453-1ubuntu1.3
    • 2:8.0.1453-1ubuntu1.4
    • 2:8.0.1453-1ubuntu1.6
    • 2:8.0.1453-1ubuntu1.7
    • 2:8.0.1453-1ubuntu1.8
    • 2:8.0.1453-1ubuntu1.9
    • 2:8.0.1453-1ubuntu1.10
    • 2:8.0.1453-1ubuntu1.11
    • 2:8.0.1453-1ubuntu1.12
    Affected ranges
    • ECOSYSTEM: < 2:8.0.1453-1ubuntu1.13

    Update to 2:8.0.1453-1ubuntu1.13

  • vim Ubuntu 20.04 LTS

    Versions
    • 2:8.1.0875-5ubuntu2
    • 2:8.1.0875-5ubuntu3
    • 2:8.1.0875-5ubuntu4
    • 2:8.1.2269-1ubuntu1
    • 2:8.1.2269-1ubuntu4
    • 2:8.1.2269-1ubuntu5
    All versions (15)
    • 2:8.1.2269-1ubuntu5.3
    • 2:8.1.2269-1ubuntu5.4
    • 2:8.1.2269-1ubuntu5.6
    • 2:8.1.2269-1ubuntu5.7
    • 2:8.1.2269-1ubuntu5.8
    • 2:8.1.2269-1ubuntu5.9
    • 2:8.1.2269-1ubuntu5.11
    • 2:8.1.2269-1ubuntu5.12
    • 2:8.1.2269-1ubuntu5.13
    Affected ranges
    • ECOSYSTEM: < 2:8.1.2269-1ubuntu5.14

    Update to 2:8.1.2269-1ubuntu5.14

Original sources

Check your server →