Skip to content
OpenAdvisories
High · 7.4 CVE-2022-2042 EUVD-2022-34345GHSA-jx8j-jfm7-h5wj

Use After Free in vim/vim

Published Jun 10, 2022 · Updated Oct 8, 2026 · Assigned by @huntrdev

Description

Use After Free in GitHub repository vim/vim prior to 8.2.

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:9.0.0135-1 —
Debian 13 vim 2:9.0.0135-1 —
Debian 12 vim 2:9.0.0135-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS vim 2:8.2.3995-1ubuntu2.15 USN-6557-1
Ubuntu 20.04 LTS vim 2:8.1.2269-1ubuntu5.21 USN-6557-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS vim 2:8.0.1453-1ubuntu1.13+esm7 USN-6557-1
Ubuntu Pro 16.04 LTS vim 2:7.4.1689-3ubuntu1.5+esm7 USN-6557-1, USN-5492-1
Ubuntu Pro 14.04 LTS vim 2:7.4.052-1ubuntu3.1+esm15 USN-6557-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed vim 9.0.0453-2.1 openSUSE-SU-2024:12337-1

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.5172-1.amzn2.0.1 ALAS2-2022-1829

Advisories 7

References