What’s Vulnerable › Vulnerabilities
CVE-2022-1154: Use after free in utf_ptr2char in vim/vim
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-03-30 · updated 2026-06-17
- Weakness: CWE-416
Description
Use after free in utf_ptr2char in GitHub repository vim/vim prior to 8.2.4646.
Affected products
- Debian Linux: 9.0, 10.0
- Fedoraproject Fedora: 34, 35
- Oracle Communications Cloud Native Core Network Exposure Function: 22.1.1
- vim/vim: before 8.2.4646 — fixed in 8.2.4646
How to fix
Upgrade to a fixed version: vim/vim 8.2.4646. Check the vendor advisory for mitigations.
References
- https://github.com/vim/vim/commit/b55986c52d4cd88a22d0b0b0e8a79547ba13e1d5
- https://huntr.dev/bounties/7f0ec6bc-ea0e-45b0-8128-caac72d23425
- https://lists.debian.org/debian-lts-announce/2022/05/msg00022.html
- https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C2CQXRLBIC4S7JQVEIN5QXKQPYWB5E3J/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RAIQTUO35U5WO2NYMY47637EMCVDJRSL/
- https://security.gentoo.org/glsa/202208-32
- https://security.gentoo.org/glsa/202305-16
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://github.com/vim/vim/commit/b55986c52d4cd88a22d0b0b0e8a79547ba13e1d5
- https://huntr.dev/bounties/7f0ec6bc-ea0e-45b0-8128-caac72d23425
- https://lists.debian.org/debian-lts-announce/2022/05/msg00022.html
Get alerted when CVE-2022-1154 or the next vulnerability affects your stack