CVE-2023-48237: overflow in shift_line in vim
Noroxi assessment
Priority: Monitor (action score 17/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.75% (FIRST EPSS); higher than 54.8% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: vim (Debian:13) 2:9.0.2116-1; vim (openSUSE:Leap 15.5) 9.1.0111-150500.20.9.1; vim (openSUSE:Leap Micro 5.3) 9.1.0111-150000.5.60.1.
Low priority for now. Upgrade to vim (Debian:13) 2:9.0.2116-1; vim (openSUSE:Leap 15.5) 9.1.0111-150500.20.9.1; vim (openSUSE:Leap Micro 5.3) 9.1.0111-150000.5.60.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
Vim is an open source command line text editor. In affected versions when shifting lines in operator pending mode and using a very large value, it may be possible to overflow the size of integer. Impact is low, user interaction is required and a crash may not even happen in all situations. This issue has been addressed in commit `6bf131888` which has been included in version 9.0.2112. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Published
- Nov 16, 2023
- Updated
- Jun 23, 2026
- EPSS
- 0.7% · 54th percentile
- CWE
- CWE-190
Report tools
Action score
17
Monitor
Low priority for now.
- CVSS
- 17 / 40 · 4.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.7%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 4.3
- CNA · GitHub_M
- 2.8
- 1.5 point gap
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| vim | vim | cpe:2.3:a:vim:vim |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- fedoraproject fedora37
- fedoraproject fedora38
- fedoraproject fedora39
- vim vimbefore 9.0.2112
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
vim vim
- < 9.0.2112affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | vim | from 0 | — |
| Debian:13 | vim | before 2:9.0.2116-1 | 2:9.0.2116-1 |
| openSUSE:Leap 15.5 | vim | before 9.1.0111-150500.20.9.1 | 9.1.0111-150500.20.9.1 |
| openSUSE:Leap Micro 5.3 | vim | before 9.1.0111-150000.5.60.1 | 9.1.0111-150000.5.60.1 |
| SUSE:Linux Enterprise Micro 5.3 | vim | before 9.1.0111-150000.5.60.1 | 9.1.0111-150000.5.60.1 |
| SUSE:Linux Enterprise Micro 5.5 | vim | before 9.1.0111-150500.20.9.1 | 9.1.0111-150500.20.9.1 |
| SUSE:Linux Enterprise Server 12 SP5 | vim | before 9.1.0111-17.29.1 | 9.1.0111-17.29.1 |
Same product
vim: all recordsOther highest-scoring records for the same primary product.
- CVE-2008-2712Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not properl42Plan
- CVE-2022-0318Heap-based Buffer Overflow in vim/vim40Plan
- CVE-2019-12735getchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows remote attackers to execute arbitrary OS commands via the :source! command i40Plan
Published before and after this one in the same product
- ← EarlierCVE-2023-48235Nov 16, 2023 · overflow in ex address parsing in vim17Monitor
- ← EarlierCVE-2023-48236Nov 16, 2023 · overflow in get_number in vim17Monitor
- Later →CVE-2023-48706Nov 22, 2023 · Vim has heap-use-after-free at /src/charset.c:1770:12 in skipwhite18Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:vim | 2:9.0.2116-1 · Debian:13 | Package registry (OSV) |
| opensuse:vim | 9.1.0111-150000.5.60.1 · openSUSE:Leap Micro 5.3 | Package registry (OSV) |
| suse:vim | 9.1.0111-150000.5.60.1 · SUSE:Linux Enterprise Micro 5.3 | Package registry (OSV) |
| suse:vim | 9.1.0111-17.29.1 · SUSE:Linux Enterprise Server 12 SP5 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2023-473475 days apartInteger Overflow or Wraparound in vim/vim31Monitor
- CVE-2023-2610191 days apartInteger Overflow or Wraparound in vim/vim31Monitor
- CVE-2022-2285502 days apartInteger Overflow or Wraparound in vim/vim31Monitor
- CVE-2023-4624620 days apartInteger Overflow in :history command in Vim22Monitor
- CVE-2023-482340 days apartoverflow in nv_z_get_count in vim17Monitor
- CVE-2023-482350 days apartoverflow in ex address parsing in vim17Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- low · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- Low
Weakness class (CWE)
CWE-190 · Integer Overflow or WraparoundCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- github.com/vim/vim/commit/6bf131888a3d1de62bbfa8a7ea03c0ddccfd496e
- github.com/vim/vim/security/advisories/GHSA-f2m2-v387-gv87
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4UJAK2W5S7G75ETDAEM3BDUCVSXCEGRD/
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M3VQF7CL3V6FGSEW37WNDFBRRILR65AK/
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VNRNYLWXZOGTYWE5HMFNQ5FVE3HBUHF6/
- security.netapp.com/advisory/ntap-20231227-0005/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.