# CVE-2023-48233: overflow with count for :s command in vim

- Priority: **Routine**
- Reason: Not severe (CVSS 2.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-11-16 · Modified: 2026-06-23
- Aliases: UBUNTU-CVE-2023-48233, DEBIAN-CVE-2023-48233
- Record: https://cvemate.com/vulnerability/CVE-2023-48233 · JSON: https://cvemate.com/vulnerability/CVE-2023-48233/json

## Description

```text
Vim is an open source command line text editor. If the count after the :s command is larger than what fits into a (signed) long variable, abort with e_value_too_large. Impact is low, user interaction is required and a crash may not even happen in all situations. This issue has been addressed in commit `ac6378773` which has been included in release version 9.0.2108. Users are advised to upgrade. There are no known workarounds for this vulnerability.
```

## Signals

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

## Affected

- debian vim (Debian): All versions (No fix recorded) \| \< 2:9.0.2116-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm15 \| \< 2:7.4.1689-3ubuntu1.5+esm22 \| \< 2:8.0.1453-1ubuntu1.13+esm7 \| \< 2:8.1.2269-1ubuntu5.21 \| \< 2:8.2.3995-1ubuntu2.15
- fedoraproject fedora: 37 \| 38 \| 39
- vim vim: \< 9.0.2108

## References

- <https://github.com/vim/vim/security/advisories/GHSA-3xx4-hcq6-r2vj>
- <https://github.com/vim/vim/commit/ac63787734fda2e294e477af52b3bd601517fa78>
- <http://www.openwall.com/lists/oss-security/2023/11/16/1>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M3VQF7CL3V6FGSEW37WNDFBRRILR65AK/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VNRNYLWXZOGTYWE5HMFNQ5FVE3HBUHF6/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4UJAK2W5S7G75ETDAEM3BDUCVSXCEGRD/>
- <https://security.netapp.com/advisory/ntap-20231227-0003/>
- <https://ubuntu.com/security/CVE-2023-48233>
- <https://ubuntu.com/security/notices/USN-6557-1>
- <https://www.cve.org/CVERecord?id=CVE-2023-48233>
- <https://security-tracker.debian.org/tracker/CVE-2023-48233>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-48233>

---

Data as of 2026-12-05T04:58:37.367Z. 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
