{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-4141","id":"CVE-2022-4141","title":"Heap-based Buffer Overflow in vim/vim","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.","descriptionLong":"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.","published":"2022-11-25T00:00:00.000Z","updated":"2026-10-28T10:31:29.355782330Z","reserved":"2022-11-25T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"@huntrdev","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"@huntrdev"},{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"huntr.dev"},{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["vim/vim"],"affectedProducts":[{"vendor":"vim","product":"vim/vim","defaultStatus":null,"versions":[{"version":"unspecified","lessThan":"9.0.0947","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-122","CWE-787"],"aliases":[],"references":[{"url":"https://huntr.dev/bounties/20ece512-c600-45ac-8a84-d0931e05541f","tags":["x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","web"]},{"url":"https://github.com/vim/vim/commit/cc762a48d42b579fb7bdec2c614636b830342dd5","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AZ3JMSUCR6Y7626RDWQ2HNSUFIQOJ33G/","tags":["vendor-advisory","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V6ZNKVN4GICORTVFKVCM4MSOXCYWNHUC/","tags":["vendor-advisory","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://security.gentoo.org/glsa/202305-16","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00015.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","article"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4141.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4141","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.0046,"epssPercentile":0.40479,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-4141","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4141","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-4141","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-4141","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}