vim up to 9.0.0804 autocmd quickfix.c qf_update_buffer use after free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.8$0-$5k0.00

Summaryinfo

A vulnerability classified as problematic was found in vim. This affects the function qf_update_buffer of the file quickfix.c of the component autocmd Handler. Such manipulation leads to use after free. This vulnerability is traded as CVE-2022-3705. The attack may be launched remotely. There is no exploit available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability was found in vim (Word Processing Software) 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 with an unknown input leads to a use after free vulnerability. Using CWE to declare the problem leads to CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. Impacted is confidentiality, integrity, and availability.

The weakness was shared 10/26/2022 as d0fab10ed2a86698937e3c3fed2f10bd9bb5e731. The advisory is shared for download at github.com. This vulnerability is handled as CVE-2022-3705. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 211239 (Fedora 37 : vim (2022-4bc60c32a2)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 9.0.0805 eliminates this vulnerability. Applying the patch d0fab10ed2a86698937e3c3fed2f10bd9bb5e731 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the vulnerability database at Tenable (211239). Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.8
VulDB Meta Temp Score: 5.8

VulDB Base Score: 5.0
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.5
NVD Vector: 🔍

CNA Base Score: 5.0
CNA Vector (VulDB): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 211239
Nessus Name: Fedora 37 : vim (2022-4bc60c32a2)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: vim 9.0.0805
Patch: d0fab10ed2a86698937e3c3fed2f10bd9bb5e731

Timelineinfo

10/26/2022 🔍
10/26/2022 +0 days 🔍
10/26/2022 +0 days 🔍
04/28/2025 +915 days 🔍

Sourcesinfo

Product: github.com

Advisory: d0fab10ed2a86698937e3c3fed2f10bd9bb5e731
Status: Confirmed

CVE: CVE-2022-3705 (🔍)
GCVE (CVE): GCVE-0-2022-3705
GCVE (VulDB): GCVE-100-212324

Entryinfo

Created: 10/26/2022 20:44
Updated: 04/28/2025 21:03
Changes: 10/26/2022 20:44 (43), 11/25/2022 14:58 (3), 11/25/2022 15:02 (21), 11/16/2024 14:24 (17), 04/28/2025 21:03 (3)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!