CVE-2023-4751: Heap-based Buffer Overflow in vim/vim

Published Sep 3, 2023
·
Updated

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1331.

Other sources

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

10 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.1331
Apple macOS=14.0
Neovim Neovim<0.9.0
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 ubuntu/vim to a version that resolves this vulnerability.

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

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

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

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

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

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

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

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

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

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

    Fixed in 9.0.1331

Event History

Sep 3, 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·06:54 PM
Data Sourced
06:54 PM
Weakness
Data Sourced
via OSV·07:15 PM
DescriptionSeverityAffected Software
Sep 8, 2023
Updated
12:58 PM
SeverityWeakness
Oct 25, 2023
Updated
12:00 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
06:09 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 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:38 AM
DescriptionSeverityWeakness
Nov 21, 2024
Data Sourced
via NVD·08:35 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·08:35 AM
RemedyAffected Software
Sep 17, 2026
Updated
via NVD·05:58 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2023-4751.

2

What is the severity of CVE-2023-4751?

The severity of CVE-2023-4751 is high with a score of 7.8.

3

What is the affected software for CVE-2023-4751?

The affected software for CVE-2023-4751 is Vim Vim prior to version 9.0.1331.

4

How can I fix CVE-2023-4751?

To fix CVE-2023-4751, update your Vim Vim installation to version 9.0.1331 or later.

5

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

You can find more information about CVE-2023-4751 on the GitHub repository vim/vim (https://github.com/vim/vim/commit/e1121b139480f53d1b06f84f3e4574048108fa0b) and huntr.dev (https://huntr.dev/bounties/db7be8d6-6cb7-4ae5-9c4e-805423afa378).

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