CVE-2022-0318: Heap-based Buffer Overflow in vim/vim

CVE-2022-0318 affects 130 listed versions of Apple macOS in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
2%EPSS (next 30 days)
21 January 2022published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Apple macOS

130 of 250 listed versions are affected. Fixed in 13.0. The newest release, 27.2.1, is not affected.

12.12 12.11 12.10 12.9 12.7.6 12.7.5 12.7.4 12.7.3 12.7.2 12.7.1 12.7 12.6.9 12.6.8 12.6.7 12.6.6 12.6.5 12.6.4 12.6.3 12.6.2 12.6.1 12.6 12.5.1 12.5 12.4 12.3.1 12.3 12.2.1 12.2 12.1 12.0.1 12.0.0 12.0 11.7.11 11.7.10 11.7.9 11.7.8 11.7.7 11.7.6 11.7.5 11.7.4 11.7.3 11.7.2 11.7.1 11.7 11.6.8 11.6.7 11.6.6 11.6.5 11.6.4 11.6.3 11.6.2 11.6.1 11.6 11.5.2 11.5.1 11.5 11.4 11.3.1 11.3 11.2.6 and 70 more

What it is

Heap-based Buffer Overflow in vim/vim prior to 8.2.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by huntrdev on 21 January 2022. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2022-0318 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.