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

CVE-2024-45306, Seunghyun Lee, Brendon Tiszka(Google Project Zero), linjy(HKUS3Lab), chluo(WHUSecLab), Xiangwei Zhang(Tencent Security YUNDING LAB), Gary Kwong, Tashita Software Security, Lukas Bernhard, an anonymous researcher, Arsenii Kostromin (0x3c3e), Hossein Lotfi@@hosselot(Trend Micro Zero Day Initiative), Anonymous(Trend Micro Zero Day Initiative), Junsung Lee(Trend Micro Zero Day Initiative), sohybbyk, CVE-2024-45490, Andrew James Gonzalez, Dragon Fruit Security (Davis Dai, ORAC 落云, Frank Du cooperative discovery), Abhay Kailasia@@abhay_kailasia(C), Rakeshkumar Talaviya, Tomomasa Hiraiwa, Talal Haj Bakry(Mysk Inc), Tommy Mysk@@mysk_co(Mysk Inc), Michael DePlante@@izobashi(Trend Micro's Zero Day Initiative), Rei@@reizydev, Kenneth Chew, Mickey Jin@@patch1t, Bistrit Dahal, Ye Zhang@@VAR10CK(Baidu Security), Joseph Ravichandran@@0xjprx(MIT CSAIL), 风沐云烟@@binary_fmyy, Wojciech Regula(SecuRing), Jacob Braun, Micheal Chukwu, Smi1e@@Smi1eSEC, Benjamin Hornbeck(ZUSO ART), Skadz@@skadz108(ZUSO ART), Chi Yuan Chang(ZUSO ART), taikosoup, Mickey Jin@@patch1t(Kandji), Csaba Fitzl@@theevilbit(Kandji), D4m0n, CertiK SkyFall Team, Dillon Franke(Google Project Zero), Michael Cohen, D’Angelo Gonzalez(CrowdStrike), Rodolphe BRUNETTI@@eisw0lf(Lupus Nova), Kirin@@Pwnrin, 7feilee, Ben Roeder, Bohdan Stasiuk@@Bohdan_Stasiuk, Halle Winkler, Politepix (theoffcuts.org), Amy@@asentientbot, Claudio Bozzato(Cisco Talos), Francesco Benvenuto(Cisco Talos), Rodolphe BRUNETTI@@eisw0lf, Politepix theoffcuts.org, Trent Lloyd@@lathiat, 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 visionOS to a version that resolves this vulnerability.

    Fixed in 2.2
  2. Upgrade

    Upgrade Apple iOS, iPadOS, and watchOS to a version that resolves this vulnerability.

    Fixed in 11.2
  3. Upgrade

    Upgrade tvOS to a version that resolves this vulnerability.

    Fixed in 18.2
  4. Upgrade

    Upgrade Apple iOS and iPadOS to a version that resolves this vulnerability.

    Fixed in 18.2
  5. Upgrade

    Upgrade Apple iOS, iPadOS, and macOS to a version that resolves this vulnerability.

    Fixed in 18.2
  6. Upgrade

    Upgrade Apple macOS to a version that resolves this vulnerability.

    Fixed in 14.7.2
  7. Upgrade

    Upgrade macOS Ventura 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 15.2
  9. Upgrade

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

    Fixed in 2:9.1.0709-1
  10. 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
  11. Upgrade

    Upgrade Vim to a version that resolves this vulnerability.

    Fixed in 9.1.0038
  12. Upgrade

    Upgrade Vim to a version that resolves this vulnerability.

    Fixed in 9.1.0707
  13. Configuration

    Enable hardened runtime.

    Apple Software hardened runtime = enabled
  14. Configuration

    Use HTTPS when sending information over the network.

    Network communications protocol = HTTPS
  15. 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 OSV·06:15 PM
DescriptionSeverityAffected Software
Dec 11, 2024
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected 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