CVE-2022-4141
Heap-based Buffer Overflow in vim/vim
HIGH 7.8EPSS 0.4%
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
- vim · vim/vim
- CVSS v3.1 NVD
- 7.8 HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS v3.0 HUNTR
- 7.3 HIGH
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - EPSS
- 0.45% chance of exploitation in the next 30 days, 37th percentile
- Published
- 2022-11-25
- Updated
- 2025-11-03
Proof-of-concept exploits (1)
Security advisories
- vim/vim/commit/cc762a48d42b579fb7bdec2c614636b830342dd5
- https://lists.debian.org/debian-lts-announce/2023/06/msg00015.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://security.gentoo.org/glsa/202305-16