# CVE-2023-0051: Heap-based Buffer Overflow in vim/vim

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2023-01-04 · Modified: 2025-04-09
- Aliases: ALPINE-CVE-2023-0051, UBUNTU-CVE-2023-0051, DEBIAN-CVE-2023-0051
- Record: https://cvemate.com/vulnerability/CVE-2023-0051 · JSON: https://cvemate.com/vulnerability/CVE-2023-0051/json

## Description

```text
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1144.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.538%, percentile 46.803%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine vim (Alpine Linux): \< 9.0.1167-r0
- debian vim (Debian): \< 2:9.0.1378-1
- ubuntu vim (Ubuntu): \< 2:8.2.3995-1ubuntu2.4
- vim vim: \< 9.0.1144
- vim vim/vim: ≥ unspecified, \< 9.0.1144

## References

- <https://huntr.dev/bounties/1c8686db-baa6-42dc-ba45-aed322802de9>
- <https://github.com/vim/vim/commit/c32949b0779106ed5710ae3bffc5053e49083ab4>
- <https://support.apple.com/kb/HT213670>
- <http://seclists.org/fulldisclosure/2023/Mar/17>
- <https://security.gentoo.org/glsa/202305-16>
- <https://security.alpinelinux.org/vuln/CVE-2023-0051>
- <https://ubuntu.com/security/CVE-2023-0051>
- <https://ubuntu.com/security/notices/USN-5963-1>
- <https://www.cve.org/CVERecord?id=CVE-2023-0051>
- <https://security-tracker.debian.org/tracker/CVE-2023-0051>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-0051>

---

Data as of 2026-12-05T04:44:53.148Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
