# CVE-2022-1154: Use after free in utf\_ptr2char in vim/vim

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-03-30 · Modified: 2024-08-02
- Aliases: ALPINE-CVE-2022-1154, RHSA-2022:1552, UBUNTU-CVE-2022-1154, DEBIAN-CVE-2022-1154
- Record: https://cvemate.com/vulnerability/CVE-2022-1154 · JSON: https://cvemate.com/vulnerability/CVE-2022-1154/json

## Description

```text
Use after free in utf_ptr2char in GitHub repository vim/vim prior to 8.2.4646.
```

## Signals

- CVSS: 7.8 high (v3.0, CVE.org) CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS: 1.455%, percentile 74.361%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine vim (Alpine Linux): \< 8.2.4708-r0
- debian vim (Debian): \< 2:8.2.4659-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm5 \| \< 2:7.4.1689-3ubuntu1.5+esm4 \| \< 2:8.0.1453-1ubuntu1.9 \| \< 2:8.1.2269-1ubuntu5.8 \| \< 2:8.2.3995-1ubuntu2.1
- debian debian\_linux: 9.0 \| 10.0
- fedoraproject fedora: 34 \| 35
- oracle communications\_cloud\_native\_core\_network\_exposure\_function: 22.1.1
- redhat vim (Red Hat): \< 2:8.0.1763-16.el8\_5.13
- redhat vim-common (Red Hat): \< 2:8.0.1763-16.el8\_5.13
- redhat vim-common-debuginfo (Red Hat): \< 2:8.0.1763-16.el8\_5.13
- redhat vim-debuginfo (Red Hat): \< 2:8.0.1763-16.el8\_5.13
- redhat vim-debugsource (Red Hat): \< 2:8.0.1763-16.el8\_5.13
- redhat vim-enhanced (Red Hat): \< 2:8.0.1763-16.el8\_5.13
- redhat vim-enhanced-debuginfo (Red Hat): \< 2:8.0.1763-16.el8\_5.13
- redhat vim-filesystem (Red Hat): \< 2:8.0.1763-16.el8\_5.13
- redhat vim-minimal (Red Hat): \< 2:8.0.1763-16.el8\_5.13
- redhat vim-minimal-debuginfo (Red Hat): \< 2:8.0.1763-16.el8\_5.13
- redhat vim-X11 (Red Hat): \< 2:8.0.1763-16.el8\_5.13
- redhat vim-X11-debuginfo (Red Hat): \< 2:8.0.1763-16.el8\_5.13
- vim vim: \< 8.2.4646
- vim vim/vim: ≥ unspecified, \< 8.2.4646

## References (first 20 of 22)

- <https://huntr.dev/bounties/7f0ec6bc-ea0e-45b0-8128-caac72d23425>
- <https://github.com/vim/vim/commit/b55986c52d4cd88a22d0b0b0e8a79547ba13e1d5>
- <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://lists.debian.org/debian-lts-announce/2022/05/msg00022.html>
- <https://www.oracle.com/security-alerts/cpujul2022.html>
- <https://security.gentoo.org/glsa/202208-32>
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html>
- <https://security.gentoo.org/glsa/202305-16>
- <https://security.alpinelinux.org/vuln/CVE-2022-1154>
- <https://access.redhat.com/errata/RHSA-2022:1552>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2073013>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_1552.json>
- <https://access.redhat.com/security/cve/CVE-2022-1154>
- <https://www.cve.org/CVERecord?id=CVE-2022-1154>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-1154>
- <https://ubuntu.com/security/CVE-2022-1154>
- <https://ubuntu.com/security/notices/USN-5433-1>
- <https://ubuntu.com/security/notices/USN-5613-1>

---

Data as of 2026-12-05T04:25:01.225Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
