CVE-2024-45306: heap-buffer-overflow in Vim

Published Sep 2, 2024
·
Updated

Accounts. A logic issue was addressed with improved file handling.

Other sources

APFS. This issue was addressed through improved state management.

— Apple

Apple Account. The issue was addressed with improved handling of protocols.

— Apple

Apple Software Restore. The issue was addressed with improved checks.

— Apple

AppleGraphicsControl. The issue was addressed with improved memory handling.

— Apple

AppleMobileFileIntegrity. The issue was addressed with improved checks.

— Apple

Credit

Mickey Jin@@patch1t(Kandji), Csaba Fitzl@@theevilbit(Kandji), Mickey Jin@@patch1t, CertiK SkyFall Team, D’Angelo Gonzalez(CrowdStrike), Hossein Lotfi@@hosselot(Trend Micro Zero Day Initiative), D4m0n, Michael Cohen, Arsenii Kostromin (0x3c3e), Dillon Franke(Google Project Zero), Gary Kwong, Rodolphe BRUNETTI@@eisw0lf(Lupus Nova), Benjamin Hornbeck(ZUSO ART), Skadz@@skadz108(ZUSO ART), Chi Yuan Chang(ZUSO ART), taikosoup, an anonymous researcher, Kirin@@Pwnrin, 7feilee, CVE-2024-45490, Joseph Ravichandran@@0xjprx(MIT CSAIL), Junsung Lee(Trend Micro Zero Day Initiative), sohybbyk, Ben Roeder, 风沐云烟@@binary_fmyy, Michael DePlante@@izobashi(Trend Micro's Zero Day Initiative), Bohdan Stasiuk@@Bohdan_Stasiuk, Halle Winkler, Politepix (theoffcuts.org), Amy@@asentientbot, Claudio Bozzato(Cisco Talos), Francesco Benvenuto(Cisco Talos), CVE-2024-45306, Rodolphe BRUNETTI@@eisw0lf, Wojciech Regula(SecuRing), Micheal Chukwu, Smi1e@@Smi1eSEC, Anonymous(Trend Micro Zero Day Initiative), Bistrit Dahal, Ye Zhang@@VAR10CK(Baidu Security), Talal Haj Bakry(Mysk Inc), Tommy Mysk@@mysk_co(Mysk Inc), Rei@@reizydev, Kenneth Chew, Jacob Braun, Abhay Kailasia@@abhay_kailasia(C), Rakeshkumar Talaviya, Tomomasa Hiraiwa, Andrew James Gonzalez, Dragon Fruit Security (Davis Dai, ORAC 落云, Frank Du cooperative discovery), Hyerean Jang, Taehun Kim, Youngjoo Shin, Meng Zhang (鲸落)(NorthSea), 神罚@@Pwnrin, CVE-2016-1246, CVE-2023-31484, CVE-2023-31486, CVE-2023-47100, Zhongquan Li@@Guluisacat, Yokesh Muthu K, Csaba Fitzl@@theevilbit(OffSec), Mickey Jin@@patch1t(Microsoft), Jonathan Bar Or@@yo_yo_yo_jbo(Microsoft)

Affected Software

12 affected componentsFixes available
vim Vim>=9.1.0038<9.1.0707
Apple visionOS<2.2
2.2
Apple WatchOS<11.2
11.2
Apple tvOS<18.2
18.2
Apple iOS<18.2
18.2
Apple iPadOS<18.2
18.2
Apple macOS Sonoma<14.7.2
14.7.2
Apple macOS Ventura<13.7.2
13.7.2
Apple macOS Sequoia<15.2
15.2
debian/vim<2:9.1.0709-1
2:9.1.0709-1
debian/vim<2:9.1.0709-1
2:9.1.0709-1
debian/vim
2:9.0.1378-2+deb12u22:9.1.1230-22:9.1.1230-2+deb13u12:9.2.0858-1

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.0709-1
  2. Upgrade

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

    Fixed in 2:9.0.1378-2+deb12u2Fixed in 2:9.1.1230-2Fixed in 2:9.1.1230-2+deb13u1Fixed in 2:9.2.0858-1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 14.7.2
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 18.2
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 11.2
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 15.2
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 13.7.2
  8. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.2
  9. Upgrade

    Upgrade Vim to a version that resolves this vulnerability.

    Fixed in 9.1.0038
  10. Upgrade

    Upgrade Vim to a version that resolves this vulnerability.

    Fixed in 9.1.0707
  11. Configuration

    Enable hardened runtime.

    Apple Software hardened runtime = enabled
  12. Configuration

    Use HTTPS when sending information over the network.

    Network communications protocol = HTTPS
  13. Compensating control

    Sanitize logging and redact sensitive or private data from log entries.

Event History

Sep 2, 2024
CVE Published
via MITRE·04:35 PM
Data Sourced
via MITRE·04:35 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·06:15 PM
DescriptionSeverityAffected Software
Oct 1, 2024
Data Sourced
via NVD·03:20 PM
RemedyAffected Software
Updated
via NVD·03:20 PM
SeverityWeakness
Event
via NVD·03:20 PM
Dec 11, 2024
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Mar 17, 2025
Updated
via Apple·12:00 AM
Affected Software
Apr 2, 2025
Updated
via Apple·12:00 AM
Affected Software
May 28, 2025
Updated
via Apple·12:00 AM
Affected Software
Updated
via Apple·12:00 AM
WeaknessAffected Software
Aug 28, 2025
Updated
via Apple·12:00 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2024-45306?

CVE-2024-45306 is categorized as a significant vulnerability affecting various Apple operating systems and Vim.

2

How do I fix CVE-2024-45306?

To fix CVE-2024-45306, update your affected software to the latest version provided by Apple or Vim, specifically versions above the listed vulnerable releases.

3

Which software is affected by CVE-2024-45306?

CVE-2024-45306 affects several Apple products including iOS, iPadOS, macOS, visionOS, watchOS, and Vim versions between 9.1.0038 and 9.1.0707.

4

What type of issue is described in CVE-2024-45306?

CVE-2024-45306 describes a logic issue that was resolved through improved file handling, state management, and memory handling.

5

Is there a risk if I do not patch CVE-2024-45306?

Failing to patch CVE-2024-45306 could leave your systems vulnerable to exploitation due to the underlying logic flaw.

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