Vulnerability · Published Sep 25, 2022 · Assigned by @huntrdev
CVE-2022-3297Use After Free in vim/vim
High 7.8
In plain English
A high-severity use-after-free in vim/vim from vim. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)7.8High
Exploit odds (30 days)0.5%top 55.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
Use After Free in GitHub repository vim/vim prior to 9.0.0579.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | vim | 2:9.0.0626-1 | DEBIAN-CVE-2022-3297 |
| Debian:13 | vim | 2:9.0.0626-1 | DEBIAN-CVE-2022-3297 |
| Debian:14 | vim | 2:9.0.0626-1 | DEBIAN-CVE-2022-3297 |
| Ubuntu:22.04:LTS | vim | 2:8.2.3995-1ubuntu2.12 | USN-6420-1 |
| Ubuntu:22.04:LTS | vim | 2:8.2.3995-1ubuntu2.12 | UBUNTU-CVE-2022-3297 |
Affected products (as reported)
Weakness: CWE-416 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://huntr.dev/bounties/1aa9ec92-0355-4710-bf85-5bce9effa01c
- https://github.com/vim/vim/commit/0ff01835a40f549c5c4a550502f62a2ac9ac447c
- FEDORA-2022-40161673a3 vendor-advisory
- FEDORA-2022-fff548cfab vendor-advisory
- FEDORA-2022-4bc60c32a2 vendor-advisory
- GLSA-202305-16 vendor-advisory