CVE-2022-0685 Use of Out-of-range Pointer Offset in vim/vim

High 8.4 Published Updated

An out-of-range pointer offset in Vim allows attackers to cause memory corruption, potentially leading to code execution or crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-0685?

CVE-2022-0685 is a high-severity memory corruption vulnerability in Apple Macos, published on 20 Feb 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 8.2.4418.

Weakness: CWE-823

Which versions are affected by CVE-2022-0685?

It affects 4 products.

Products include Apple Macos, Debian Debian Linux, Fedoraproject Fedora, Vim Vim.

How do I fix CVE-2022-0685?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-0685 being exploited?

There is no known exploitation of CVE-2022-0685 in the wild and no public exploit code.

All Apple Macos vulnerabilities

Sources

Also known as ALPINE-CVE-2022-0685, AZL-8677, DEBIAN-CVE-2022-0685, GHSA-87x7-hf6q-h4h9, OESA-2022-1580, UBUNTU-CVE-2022-0685.

Is CVE-2022-0685 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free