Vulnerability · Published Mar 4, 2023 · Assigned by @huntrdev
CVE-2023-1175Incorrect Calculation of Buffer Size in vim/vim
High 7.3
In plain English
A high-severity security flaw in vim/vim from vim. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)7.3High
Exploit odds (30 days)0.4%top 60.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9.0.1378.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | vim | 9.0.1395-r0 | ALPINE-CVE-2023-1175 |
| Alpine:v3.21 | vim | 9.0.1395-r0 | ALPINE-CVE-2023-1175 |
| Alpine:v3.22 | vim | 9.0.1395-r0 | ALPINE-CVE-2023-1175 |
| Alpine:v3.23 | vim | 9.0.1395-r0 | ALPINE-CVE-2023-1175 |
| Alpine:v3.24 | vim | 9.0.1395-r0 | ALPINE-CVE-2023-1175 |
| Debian:12 | vim | 2:9.0.1378-1 | DEBIAN-CVE-2023-1175 |
| Debian:13 | vim | 2:9.0.1378-1 | DEBIAN-CVE-2023-1175 |
| Debian:14 | vim | 2:9.0.1378-1 | DEBIAN-CVE-2023-1175 |
| Ubuntu:22.04:LTS | vim | 2:8.2.3995-1ubuntu2.4 | UBUNTU-CVE-2023-1175 |
| Ubuntu:22.04:LTS | vim | 2:8.2.3995-1ubuntu2.4 | USN-5963-1 |
Affected products (as reported)
Weakness: CWE-131 · Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
References
- https://huntr.dev/bounties/7e93fc17-92eb-4ae7-b01a-93bb460b643e
- https://github.com/vim/vim/commit/c99cbf8f289bdda5d4a77d7ec415850a520330ba
- FEDORA-2023-43cb13aefb vendor-advisory
- FEDORA-2023-d4ebe53978 vendor-advisory
- FEDORA-2023-030318ca00 vendor-advisory
- [debian-lts-announce] 20230612 [SECURITY] [DLA 3453-1] vim security update mailing-list
- https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html