7.8
CWE
122 787 119
Advisory Published
Updated

CVE-2022-4141: Buffer Overflow

First published: Fri Nov 25 2022(Updated: )

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.

Credit: security@huntr.dev

Affected SoftwareAffected VersionHow to fix
Vim Vim<=9.0.0946
Fedoraproject Fedora=36
Fedoraproject Fedora=37

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2022-4141?

    The severity of CVE-2022-4141 is high.

  • How does CVE-2022-4141 affect Vim and Fedora?

    CVE-2022-4141 affects Vim versions 9.0.0946 and below, as well as Fedora versions 36 and 37.

  • What is the vulnerability type of CVE-2022-4141?

    The vulnerability type of CVE-2022-4141 is a heap-based buffer overflow.

  • How can an attacker exploit CVE-2022-4141?

    An attacker can exploit CVE-2022-4141 by using the CTRL-W gf command in the expression used in the RHS of the substitute command in Vim.

  • How can I fix the vulnerability in Vim and Fedora?

    To fix the vulnerability in Vim, update to version 9.0.0947 or later. For Fedora, apply the appropriate security patches or updates.

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203