CVEvulnerability
CVE-2022-4141
7.8 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2022-11-25
- Last modified
- 2026-09-24
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 3.0 ([email protected])
- 7.3 HIGH — CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-122, CWE-787
Description
Heap based buffer overflow in vim/vim 9.0.0946 and below by allowing an attacker to CTRL-W gf in the expression used in the RHS of the substitute command.
Affected configurations
• debian debian linux 10.0
• debian debian linux 11.0
• neovim neovim (>= 0.1.0 < 0.10.0)
• vim vim (<= 9.0.0946)
• fedoraproject fedora 36
• fedoraproject fedora 37
Related
References
- https://github.com/vim/vim/commit/cc762a48d42b579fb7bdec2c614636b830342dd5 Patch, Third Party Advisory
- https://huntr.dev/bounties/20ece512-c600-45ac-8a84-d0931e05541f Exploit, Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/06/msg00015.html Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AZ3JMSUCR6Y7626RDWQ2HNSUFIQOJ33G/ Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V6ZNKVN4GICORTVFKVCM4MSOXCYWNHUC/ Mailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202305-16 Third Party Advisory
- https://github.com/vim/vim/commit/cc762a48d42b579fb7bdec2c614636b830342dd5 Patch, Third Party Advisory
- https://huntr.dev/bounties/20ece512-c600-45ac-8a84-d0931e05541f Exploit, Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/06/msg00015.html Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AZ3JMSUCR6Y7626RDWQ2HNSUFIQOJ33G/ Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V6ZNKVN4GICORTVFKVCM4MSOXCYWNHUC/ Mailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202305-16 Third Party Advisory