Skip to content
OpenAdvisories
Medium · 5.0 CVE-2022-3705 EUVD-2022-43062GHSA-vwcr-hcq5-36jr

vim autocmd quickfix.c qf_update_buffer use after free

Published Oct 26, 2022 · Updated Apr 15, 2025 · Assigned by VulDB

Description

A vulnerability was found in vim and classified as problematic. Affected by this issue is the function qf_update_buffer of the file quickfix.c of the component autocmd Handler. The manipulation leads to use after free. The attack may be launched remotely. Upgrading to version 9.0.0805 is able to address this issue. The name of the patch is d0fab10ed2a86698937e3c3fed2f10bd9bb5e731. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-212324.

Affected products

VendorProductAffectedFixed
— vim — —

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.0813-1 —
Debian 13 vim 2:9.0.0813-1 —
Debian 12 vim 2:9.0.0813-1 —
Debian 10 vim 2:8.1.0875-5+deb10u3 DLA-3182-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS vim 2:8.2.3995-1ubuntu2.12 USN-6420-1
Ubuntu 20.04 LTS vim 2:8.1.2269-1ubuntu5.18 USN-6420-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS vim 2:8.0.1453-1ubuntu1.13+esm5 USN-6420-1
Ubuntu Pro 16.04 LTS vim No fix yet —
Ubuntu Pro 14.04 LTS vim 2:7.4.052-1ubuntu3.1+esm13 USN-6420-1
ReleasePackageFixed inAdvisory
SLES 15 SP4 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4631-1, SUSE-SU-2022:4282-1
SLES 15 SP3 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4631-1, SUSE-SU-2022:4282-1
SLES 15 SP2 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4631-1, SUSE-SU-2022:4282-1
SLES 15 SP1 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4631-1, SUSE-SU-2022:4282-1
SLES 15 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4282-1
Show 29 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 vim 9.0.0814-17.9.1 SUSE-SU-2023:0209-1, SUSE-SU-2022:4619-1
SLES 12 SP4 vim 9.0.0814-17.9.1 SUSE-SU-2023:0209-1, SUSE-SU-2022:4619-1
SLES 12 SP3 vim 9.0.0814-17.9.1 SUSE-SU-2022:4619-1
SLES 12 SP2 vim 9.0.0814-17.9.1 SUSE-SU-2023:0209-1, SUSE-SU-2022:4619-1
SLES for SAP 15 SP3 vim 9.0.1040-150000.5.31.1 SUSE-SU-2022:4631-1
SLES for SAP 15 SP2 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4631-1, SUSE-SU-2022:4282-1
SLES for SAP 15 SP1 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4631-1, SUSE-SU-2022:4282-1
SLES for SAP 15 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4282-1
SLES for SAP 12 SP5 vim 9.0.0814-17.9.1 SUSE-SU-2023:0209-1, SUSE-SU-2022:4619-1
SLES for SAP 12 SP4 vim 9.0.0814-17.9.1 SUSE-SU-2023:0209-1, SUSE-SU-2022:4619-1
SLE Real Time 15 SP3 vim 9.0.1040-150000.5.31.1 SUSE-SU-2022:4631-1
SLE Micro 5.3 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4631-1, SUSE-SU-2022:4282-1
SLE Micro 5.2 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4631-1, SUSE-SU-2022:4282-1
SLE Micro 5.1 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4631-1, SUSE-SU-2022:4282-1
SLE HPC 15 SP3 vim 9.0.1040-150000.5.31.1 SUSE-SU-2022:4631-1
SLE HPC 15 SP2 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4631-1, SUSE-SU-2022:4282-1
SLE HPC 15 SP1 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4631-1, SUSE-SU-2022:4282-1
SLE HPC 15 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4282-1
SUSE OpenStack Cloud Crowbar 9 vim 9.0.0814-17.9.1 SUSE-SU-2023:0209-1, SUSE-SU-2022:4619-1
SUSE OpenStack Cloud 9 vim 9.0.0814-17.9.1 SUSE-SU-2023:0209-1, SUSE-SU-2022:4619-1
SUSE Manager Server 4.2 vim 9.0.1040-150000.5.31.1 SUSE-SU-2022:4631-1
SUSE Manager Server 4.1 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4631-1, SUSE-SU-2022:4282-1
SUSE Manager Retail Branch Server 4.2 vim 9.0.1040-150000.5.31.1 SUSE-SU-2022:4631-1
SUSE Manager Retail Branch Server 4.1 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4631-1, SUSE-SU-2022:4282-1
SUSE Manager Proxy 4.2 vim 9.0.1040-150000.5.31.1 SUSE-SU-2022:4631-1
SUSE Manager Proxy 4.1 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4631-1, SUSE-SU-2022:4282-1
SUSE Enterprise Storage 7.1 vim 9.0.1040-150000.5.31.1 SUSE-SU-2022:4631-1
SUSE Enterprise Storage 7 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4631-1, SUSE-SU-2022:4282-1
SUSE Enterprise Storage 6 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4631-1, SUSE-SU-2022:4282-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.4 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4631-1, SUSE-SU-2022:4282-1
openSUSE Leap 15.3 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4631-1, SUSE-SU-2022:4282-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.3 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4631-1, SUSE-SU-2022:4282-1
openSUSE Leap Micro 5.2 vim 9.0.0814-150000.5.28.1 SUSE-SU-2022:4631-1, SUSE-SU-2022:4282-1
ReleasePackageFixed inAdvisory
Alpine v3.24 vim 9.0.0815-r0 —
Alpine v3.23 vim 9.0.0815-r0 —
Alpine v3.22 vim 9.0.0815-r0 —
Alpine v3.21 vim 9.0.0815-r0 —
Alpine v3.20 vim 9.0.0815-r0 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 vim 9.0.0815-r0 —
Alpine v3.18 vim 9.0.0815-r0 —
Alpine v3.17 vim 9.0.0815-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:9.0.828-1.amzn2.0.1 ALAS2-2022-1902

Azure Linux

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

Advisories 13

References