CVE-2023-4733: Use After Free in vim/vim

Published Sep 4, 2023
·
Updated

Last updated 24 July 2024

Other sources

Use After Free in GitHub repository vim/vim prior to 9.0.1840.

Vim. A use-after-free issue was addressed with improved memory management.

— Apple

Credit

CVE-2023-4733, CVE-2023-4734, CVE-2023-4735, CVE-2023-4736, CVE-2023-4738, CVE-2023-4750, CVE-2023-4751, CVE-2023-4752, CVE-2023-4781

Affected Software

20 affected componentsFixes available
debian/vim<=2:8.2.2434-3+deb11u1, <=2:9.0.1378-2
2:9.1.0496-12:9.1.0709-1
Apple macOS Sonoma<14.1
14.1
vim Vim<9.0.1840
Fedoraproject Fedora=37
Fedoraproject Fedora=38
Fedoraproject Fedora=39
Neovim Neovim>=0.7.0<0.9.2
Apple macOS<14.1
alpine/vim<9.0.2073-r0
9.0.2073-r0
alpine/vim<9.0.1888-r0
9.0.1888-r0
alpine/vim<9.0.1888-r0
9.0.1888-r0
alpine/vim<9.0.1888-r0
9.0.1888-r0
alpine/vim<9.0.1888-r0
9.0.1888-r0
alpine/vim<9.0.1888-r0
9.0.1888-r0
alpine/vim<9.0.1888-r0
9.0.1888-r0
ubuntu/vim<2:7.4.052-1ubuntu3.1+esm14
2:7.4.052-1ubuntu3.1+esm14
ubuntu/vim<2:7.4.1689-3ubuntu1.5+esm20
2:7.4.1689-3ubuntu1.5+esm20
ubuntu/vim<2:8.0.1453-1ubuntu1.13+esm6
2:8.0.1453-1ubuntu1.13+esm6
ubuntu/vim<2:8.1.2269-1ubuntu5.20
2:8.1.2269-1ubuntu5.20
ubuntu/vim<2:8.2.3995-1ubuntu2.13
2:8.2.3995-1ubuntu2.13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/vim to a version that resolves this vulnerability.

    Fixed in 2:9.1.0496-1Fixed in 2:9.1.0709-1
  2. Upgrade

    Upgrade Apple macOS to a version that resolves this vulnerability.

    Fixed in 14.1
  3. Upgrade

    Upgrade alpine/vim to a version that resolves this vulnerability.

    Fixed in 9.0.2073-r0
  4. Upgrade

    Upgrade alpine/vim to a version that resolves this vulnerability.

    Fixed in 9.0.1888-r0
  5. Upgrade

    Upgrade ubuntu/vim to a version that resolves this vulnerability.

    Fixed in 2:7.4.052-1ubuntu3.1+esm14
  6. Upgrade

    Upgrade ubuntu/vim to a version that resolves this vulnerability.

    Fixed in 2:7.4.1689-3ubuntu1.5+esm20
  7. Upgrade

    Upgrade ubuntu/vim to a version that resolves this vulnerability.

    Fixed in 2:8.0.1453-1ubuntu1.13+esm6
  8. Upgrade

    Upgrade ubuntu/vim to a version that resolves this vulnerability.

    Fixed in 2:8.1.2269-1ubuntu5.20
  9. Upgrade

    Upgrade ubuntu/vim to a version that resolves this vulnerability.

    Fixed in 2:8.2.3995-1ubuntu2.13
  10. Upgrade

    Upgrade vim/vim to a version that resolves this vulnerability.

    Fixed in 9.0.1840

Event History

Sep 4, 2023
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
CVE Published
via MITRE·01:47 PM
Data Sourced
01:47 PM
Weakness
Data Sourced
via OSV·02:15 PM
DescriptionSeverityAffected Software
Sep 8, 2023
Updated
02:06 PM
Severity
Oct 25, 2023
Updated
12:00 AM
Affected Software
Oct 26, 2023
Updated
12:15 AM
Affected Software
Oct 27, 2023
Updated
12:00 AM
Affected Software
Nov 3, 2023
Updated
12:00 AM
Affected Software
Dec 22, 2023
Updated
05:56 PM
Affected Software
Jan 18, 2024
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Updated
via Apple·12:00 AM
Affected Software
Jan 23, 2024
Updated
via Apple·12:00 AM
Affected Software
Feb 1, 2024
Data Sourced
via NVD·05:56 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·05:56 PM
Affected Software
Feb 16, 2024
Updated
via Apple·12:00 AM
Affected Software
Mar 7, 2024
Updated
via Apple·12:00 AM
Affected Software
Apr 24, 2024
Updated
via Apple·12:00 AM
Affected Software
May 29, 2024
Updated
via Apple·12:00 AM
Affected Software
Aug 2, 2024
Data Sourced
via MITRE·07:37 AM
DescriptionSeverityWeakness
Nov 21, 2024
Updated
via NVD·08:35 AM
RemedyAffected Software
Jun 23, 2026
Updated
via NVD·06:17 PM
Affected Software
Sep 18, 2026
Updated
via NVD·03:38 PM
Affected Software
Updated
via NVD·03:38 PM
RemedyAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2023-4733?

CVE-2023-4733 is a vulnerability that allows an attacker to exploit a use-after-free vulnerability in the GitHub repository vim/vim prior to version 9.0.1840.

2

What software versions are affected by CVE-2023-4733?

CVE-2023-4733 affects Vim versions prior to 9.0.1840 and Fedora version 38.

3

How severe is CVE-2023-4733?

CVE-2023-4733 has a severity rating of 7.3, which is considered high.

4

How can I fix CVE-2023-4733?

To fix CVE-2023-4733, you should update your Vim software to version 9.0.1840 or later.

5

Where can I find more information about CVE-2023-4733?

You can find more information about CVE-2023-4733 in the references provided: [link1](https://github.com/vim/vim/commit/e1dc9a627536304bc4f738c21e909ad9fcf3974c), [link2](https://huntr.dev/bounties/1ce1fd8c-050a-4373-8004-b35b61590217), [link3](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I56ITJAFMFAQ2G3BMGTCGM3GS62V2DTR/)

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