{"id":"ALPINE-CVE-2022-4141","details":"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.","modified":"2026-08-27T22:18:01.916900927Z","published":"2022-11-25T14:15:10.737Z","upstream":["CVE-2022-4141"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2022-4141"}],"affected":[{"package":{"name":"vim","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/vim?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.0999-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-4141.json"}},{"package":{"name":"vim","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/vim?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.0999-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-4141.json"}},{"package":{"name":"vim","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/vim?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.0999-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-4141.json"}},{"package":{"name":"vim","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/vim?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.0999-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-4141.json"}},{"package":{"name":"vim","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/vim?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.0999-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-4141.json"}},{"package":{"name":"vim","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/vim?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.0999-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-4141.json"}},{"package":{"name":"vim","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/vim?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.0999-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-4141.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}