Skip to content
OpenAdvisories
Medium · 6.8 CVE-2021-4173 EUVD-2021-34035GHSA-h3r6-368v-w6xc

Use After Free in vim/vim

Published Dec 27, 2021 · Updated Nov 2, 2026 · Assigned by @huntrdev

Description

vim is vulnerable to Use After Free

Affected products

VendorProductAffectedFixed
vim vim/vim unspecified – < 8.2 8.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 vim 2:8.2.3995-1 —
Debian 13 vim 2:8.2.3995-1 —
Debian 12 vim 2:8.2.3995-1 —
Debian 11 vim 2:8.2.2434-3+deb11u2 DLA-4097-1
ReleasePackageFixed inAdvisory
Alpine v3.24 vim 8.2.4173-r0 —
Alpine v3.23 vim 8.2.4173-r0 —
Alpine v3.22 vim 8.2.4173-r0 —
Alpine v3.21 vim 8.2.4173-r0 —
Alpine v3.20 vim 8.2.4173-r0 —
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 vim 8.2.4173-r0 —
Alpine v3.18 vim 8.2.4173-r0 —
Alpine v3.17 vim 8.2.4173-r0 —
Alpine v3.16 vim 8.2.4173-r0 —
Alpine v3.15 vim 8.2.4173-r0 —
Alpine v3.14 vim 8.2.4173-r0 —
Alpine v3.13 vim 8.2.4173-r0 —
Alpine v3.12 vim 8.2.4173-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 vim-data +5 2:9.0.1160-1.amzn2023.0.2 ALAS2023-2023-098
Amazon Linux 2 vim-X11 +5 2:8.2.4006-1.amzn2.0.1 ALAS2-2022-1743

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) vim 8.2.4081-1 —

Advisories 8

References