CVE-2022-1154: Use after free in utf_ptr2char in vim/vim

Published Mar 30, 2022
·
Updated

Last updated 24 July 2024

Other sources

Use after free in utfptr2char in GitHub repository vim/vim prior to 8.2.4646.

Affected Software

7 affected componentsFixes available
vim Vim<8.2.4646
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Oracle Communications Cloud Native Core Network Exposure Function=22.1.1
debian/vim<=2:8.2.2434-3+deb11u1, <=2:8.2.2434-3+deb11u3
2:9.0.1378-2+deb12u22:9.1.1230-1

Event History

Mar 30, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Jan 12, 2024
Data Sourced
via Launchpad·12:04 AM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·02:39 AM
RemedyDescriptionSeverityAffected Software
Mar 27, 2025
Data Sourced
via Debian·04:27 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-1154?

CVE-2022-1154 is a vulnerability in the utf_ptr2char function in the GitHub repository vim/vim. It is a use after free vulnerability that exists in versions prior to 8.2.4646.

2

How does CVE-2022-1154 affect Vim?

CVE-2022-1154 affects Vim versions prior to 8.2.4646. It allows an attacker to cause a use after free condition in the utf_ptr2char function, potentially leading to arbitrary code execution.

3

What is the severity of CVE-2022-1154?

CVE-2022-1154 has a severity rating of high.

4

How can I fix CVE-2022-1154?

To fix CVE-2022-1154, update Vim to version 8.2.4646 or later.

5

Where can I find more information about CVE-2022-1154?

You can find more information about CVE-2022-1154 in the references provided: https://huntr.dev/bounties/7f0ec6bc-ea0e-45b0-8128-caac72d23425, https://github.com/vim/vim/commit/b55986c52d4cd88a22d0b0b0e8a79547ba13e1d5, https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/C2CQXRLBIC4S7JQVEIN5QXKQPYWB5E3J/

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203