CVE-2023-48706: fedoraproject fedora Use After Free
Vulnerability summary
CVE-2023-48706 is a medium (CVSS 4.7) Use After Free vulnerability in fedoraproject fedora. EPSS estimates a 0.54% chance of exploitation in the next 30 days, higher than 44.5% of scored vulnerabilities. 2 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 5 · Related 4Timeline
- 22-11-2023PublishedVulnerability first disclosed.
- 23-06-2026Last modifiedVulnerability information updated.
Description
Vim is a UNIX editor that, prior to version 9.0.2121, has a heap-use-after-free vulnerability. When executing a `:s` command for the very first time and using a sub-replace-special atom inside the substitution part, it is possible that the recursive `:s` call causes free-ing of memory which may later then be accessed by the initial `:s` command. The user must intentionally execute the payload and the whole process is a bit tricky to do since it seems to work only reliably for the very first :s command. It may also cause a crash of Vim. Version 9.0.2121 contains a fix for this issue.
CVSS metrics
5 scores · 5 sources · 1 version- CVE.orgCNA3.6LowCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:LDiffers
- OSV · AlpineEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated3.6LowCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:LDiffers
- OSV · DebianEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.54%
Chance of exploitation in the next 30 days
Percentile
45%
Versus all other CVEs
30-day change
0.00 pp
From 0.54% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundVim
Maturity: poc
Crash Report
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Alpine1 product
- vim< 9.0.2127-r0
Debian1 product
- vimAll versions (No fix recorded) | < 2:9.0.2189-1
Fedoraproject1 product
- fedoraEOL38 | 39
Neovim1 product
- neovim≤ 0.9.5
Netapp1 product
Ubuntu1 product
- vim< 2:8.2.3995-1ubuntu2.15 | < 2:9.0.2116-1ubuntu2
Vim1 product
- vim< 9.0.2121
7 vendors · 7 products
References
14 links- github.com/vim/vim/security/advisories/GHSA-c8qm-x72m-q53qX Refsource CONFIRMREPORTExploitVendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- security.netapp.com/advisory/ntap-20240105-0001/Vendor Advisory