CVE-2023-48706Fedoraproject Fedora
Medium 4.7
Follow: this CVE · Fedoraproject · Fedoraproject Fedora We alert you by email or Slack (account required).
- Priority
- 28
- CVSS 3.1
- 4.7
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 22
- Auth required
- Yes
- Published
- Nov 22, 2023
- Updated
- Sep 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-416
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Fedora.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| fedoraproject | fedora | 38 |
| fedoraproject | fedora | 39 |
| netapp | hci_compute_node | all |
| neovim | neovim | ≤ 0.9.5 |
| vim | vim | < 9.0.2121 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Patch Third Party Advisory
- github.com Exploit
- github.com Patch
- github.com Issue Tracking Patch
- github.com Exploit Vendor Advisory
- lists.fedoraproject.org Vendor Advisory
- lists.fedoraproject.org Vendor Advisory
- security.netapp.com Vendor Advisory