Vulnerability · Published Oct 26, 2022 · Assigned by VulDB

CVE-2022-3705vim autocmd quickfix.c qf_update_buffer use after free

Medium 5.0

In plain English

A medium-severity memory corruption in vim from unspecified. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.0Medium
Exploit odds (30 days)1.7%top 23.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20vim9.0.0815-r0ALPINE-CVE-2022-3705
Alpine:v3.21vim9.0.0815-r0ALPINE-CVE-2022-3705
Alpine:v3.22vim9.0.0815-r0ALPINE-CVE-2022-3705
Alpine:v3.23vim9.0.0815-r0ALPINE-CVE-2022-3705
Alpine:v3.24vim9.0.0815-r0ALPINE-CVE-2022-3705
Debian:12vim2:9.0.0813-1DEBIAN-CVE-2022-3705
Debian:13vim2:9.0.0813-1DEBIAN-CVE-2022-3705
Debian:14vim2:9.0.0813-1DEBIAN-CVE-2022-3705
Ubuntu:22.04:LTSvim2:8.2.3995-1ubuntu2.12UBUNTU-CVE-2022-3705
Ubuntu:22.04:LTSvim2:8.2.3995-1ubuntu2.12USN-6420-1

Affected products (as reported)

VendorProductVersions
unspecified vim n/a

Weakness: CWE-119 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

References