CVE-2023-48236
overflow in get_number in vim
Reported by github_m · Published November 16, 2023
Vim is an open source command line text editor. When using the z= command, the user may overflow the count with values larger than MAX_INT. Impact is low, user interaction is required and a crash may not even happen in all situations. This vulnerability has been addressed in commit `73b2d379` which has been included in release version 9.0.2111. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| vim-filesystem | Amazon Linux | 2:9.0.2120-1.amzn2023, 2:9.0.2120-1.amzn2.0.1 |
| vim-minimal | Amazon Linux | 2:9.0.2120-1.amzn2023, 2:9.0.2120-1.amzn2.0.1 |
| vim-data | Amazon Linux | 2:9.0.2120-1.amzn2023, 2:9.0.2120-1.amzn2.0.1 |
| vim-common | Amazon Linux | 2:9.0.2120-1.amzn2023, 2:9.0.2120-1.amzn2.0.1 |
| xxd | Amazon Linux | 2:9.0.2120-1.amzn2023, 2:9.0.2120-1.amzn2.0.1 |
| vim-enhanced | Amazon Linux | 2:9.0.2120-1.amzn2023, 2:9.0.2120-1.amzn2.0.1 |
| vim-X11 | Amazon Linux | 2:9.0.2120-1.amzn2.0.1 |
| vim | vim | 9.0.2111 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| vim | vim | < 9.0.2111 |
| amazon:2 | vim-filesystem | 0 |
| amazon:2023 | vim-filesystem | 0 |
| amazon:2 | vim-minimal | 0 |
| amazon:2023 | vim-data | 0 |
| amazon:2023 | vim-common | 0 |
| amazon:2 | vim-data | 0 |
| amazon:2 | xxd | 0 |
| amazon:2 | vim-common | 0 |
| amazon:2023 | vim-minimal | 0 |
| amazon:2 | vim-enhanced | 0 |
| amazon:2023 | vim-enhanced | 0 |
| amazon:2023 | xxd | 0 |
| amazon:2 | vim-X11 | 0 |
| vim | vim | 0 |
| amazon:2023 | vim-default-editor | 0 |
Timeline
- Nov 16, 2023 CVE Published
- Nov 17, 2023 EPSS Score (30 in total, the first dated here)
- Jan 28, 2026 Security Advisory (2 in total, the first dated here)
- Jul 28, 2026 Distribution Patch
- Jul 31, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-48236
vulnetix vdb fixes CVE-2023-48236
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-48236/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/vim/vim/security/advisories/GHSA-pr4c-932v-8hx5 x_refsource_CONFIRM
- https://github.com/vim/vim/commit/73b2d3790cad5694fc0ed0db2926e4220c48d968 x_refsource_MISC