# CVE-2023-0512: Divide By Zero in vim/vim

- Severity: High 7.3 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 33% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-01-26T00:00:00.000Z
- Modified: 2026-06-17T05:25:43.210Z
- Weaknesses: CWE-369
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntrdev

## Description

Divide By Zero in GitHub repository vim/vim prior to 9.0.1247.

(As written by CVE List.)

## Affected

- vim vim/vim: from unspecified before 9.0.1247
- vim vim: before 9.0.1247

## Every score

- @huntrdev: CVSS:3.0 7.3 High `CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://huntr.dev/bounties/de83736a-1936-4872-830b-f1e9b0ad2a74> (exploit, patch, third-party-advisory)
- <https://github.com/vim/vim/commit/870219c58c0804bdc55419b2e455c06ac715a835> (patch, third-party-advisory)
- <https://support.apple.com/kb/HT213677>
- <https://support.apple.com/kb/HT213675>
- <https://support.apple.com/kb/HT213670>
- <http://seclists.org/fulldisclosure/2023/Mar/17> (mailing-list)
- <http://seclists.org/fulldisclosure/2023/Mar/18> (mailing-list)
- <http://seclists.org/fulldisclosure/2023/Mar/21> (mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IE44W6WMMREYCW3GJHPSYP7NK2VT5NY6/> (vendor-advisory)

## Sources

- CVE List: [CVE-2023-0512](https://www.cve.org/CVERecord?id=CVE-2023-0512), CVE Terms of Use, modified 2025-03-31
- NVD: [CVE-2023-0512](https://nvd.nist.gov/vuln/detail/CVE-2023-0512), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-0512 · Whole record: https://cve.day/CVE-2023-0512.json · Rebuilt by cve.day 2026-11-25T22:58:21.774Z
