CVE-2024-41957: Vim double free in src/alloc.c:616

Published Aug 1, 2024
·
Updated

Accounts. A permissions issue was addressed with additional restrictions.

Other sources

Accounts. The issue was addressed with improved checks.

— Apple

Accounts. The issue was addressed with improved permissions logic.

— Apple

Airport. A permissions issue was addressed with additional restrictions.

— Apple

APFS. The issue was addressed with improved checks.

— Apple

APNs. This issue was addressed with improved data protection.

— Apple

Credit

CVE-2024-44129, CVE-2024-44130, Bohdan Stasiuk@@Bohdan_Stasiuk, Pedro Tôrres@@t0rr3sp3dr0, Yiğit Can YILMAZ@@yilmazcanyigit, Pwn2car(Trend Micro Zero Day Initiative), Michael DePlante@@izobashi(Trend Micro Zero Day Initiative), Mickey Jin@@patch1t, Kirin@@Pwnrin, Claudio Bozzato(Cisco Talos), Francesco Benvenuto(Cisco Talos), Halle Winkler, Politepix@@hallewinkler, Holger Fuhrmannek, Anton Boegler, Snoolie Keffaber@@0xilis, an anonymous researcher, Rodolphe Brunetti@@eisw0lf, @@08Tc3wBB(Jamf), Csaba Fitzl@@theevilbit(Kandji), CVE-2023-4504, Denis Tokarev@@illusionofcha0s, Junsung Lee, Antonio Zekić, Andrew Lytvynov, dw0r(ZeroPointer Lab working with Trend Micro Zero Day Initiative), Alexander Heinrich, SEEMOO, DistriNet, KU Leuven@@vanhoefm, TU Darmstadt@@Sn0wfreeze, Mathy Vanhoef, Jeff Johnson (underpassapp.com), Kirin@@Pwnrin(Fudan University), LFY@@secsys(Fudan University), OSS-Fuzz(Google Project Zero), Ned Williamson(Google Project Zero), Meng Zhang (鲸落)(NorthSea), ajajfxhj, Brian McNulty(Computer Science), Cristian Dinca(Computer Science), Romania, Vaibhav Prajapati, Olivier Levon, Rodolphe BRUNETTI@@eisw0lf, CVE-2023-5841, CVE-2024-39894, Rifa'i Rejal Maynando, Narendra Bhati(Cyber Security at Suma Soft Pvt), Manager(Cyber Security at Suma Soft Pvt), Pune (India), Zhongquan Li@@Guluisacat, Yiğit Can YILMAZ@@yilmazcanyigit(SecuRing), Wojciech Regula(SecuRing), Kirin@@Pwnrin(NorthSea), 냥냥, Vivek Dhar, working as Assistant Sub-Inspector (RM) in Border Security Force (Frontier Headquarter BSF Kashmir), luckyu@@uuulucky(NorthSea), Pedro José Pereira Vieito@@pvieito, Bistrit Dahal, Matej Moravec@@MacejkoMoravec, K宝, LFY@@secsys, Smi1e, yulige, Cristian Dinca (icmd.tech), Om Kothawade(the UNTHSC College of Pharmacy), Omar A. Alanis(the UNTHSC College of Pharmacy), Arsenii Kostromin (0x3c3e), CVE-2024-41957, Jonathan Bar Or@@yo_yo_yo_jbo(Microsoft), Ron Masas(BreakPoint)

Affected Software

21 affected componentsFixes available
vim Vim<9.1.0647
Microsoft azl3 vim 9.0.2190-6
Microsoft azl3 vim 9.0.2190-4
Microsoft cbl2 vim 9.0.2121-4
Microsoft cbl2 vim 9.0.2121-5
debian/vim*
debian/vim<2:9.1.0698-1
2:9.1.0698-1
debian/vim<2:9.1.0698-1
2:9.1.0698-1
debian/vim<=2:9.0.1378-2+deb12u2
2:9.1.1230-22:9.1.1230-2+deb13u12:9.2.0858-1
alpine/vim<9.1.0652-r0
9.1.0652-r0
alpine/vim<9.1.0652-r0
9.1.0652-r0
alpine/vim<9.1.0652-r0
9.1.0652-r0
alpine/vim<9.1.0652-r0
9.1.0652-r0
alpine/vim<9.1.0652-r0
9.1.0652-r0
Apple macOS Sequoia<15
15
ubuntu/vim<2:7.4.052-1ubuntu3.1+esm18
2:7.4.052-1ubuntu3.1+esm18
ubuntu/vim<2:7.4.1689-3ubuntu1.5+esm24
2:7.4.1689-3ubuntu1.5+esm24
ubuntu/vim<2:8.0.1453-1ubuntu1.13+esm9
2:8.0.1453-1ubuntu1.13+esm9
ubuntu/vim<2:8.1.2269-1ubuntu5.24
2:8.1.2269-1ubuntu5.24
ubuntu/vim<2:8.2.3995-1ubuntu2.18
2:8.2.3995-1ubuntu2.18
ubuntu/vim<2:9.1.0016-1ubuntu7.2
2:9.1.0016-1ubuntu7.2

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

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

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

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

    Fixed in 9.1.0652-r0
  4. Upgrade

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

    Fixed in 15
  5. Upgrade

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

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

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

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

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

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

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

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

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

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

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

    Fixed in 2:9.1.0016-1ubuntu7.2
  11. Upgrade

    Upgrade Vim to a version that resolves this vulnerability.

    Fixed in v9.1.0647

Event History

Aug 1, 2024
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
CVE Published
via MITRE·09:41 PM
Data Sourced
via MITRE·09:41 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·10:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeakness
Aug 9, 2024
Data Sourced
via NVD·02:14 PM
RemedyAffected Software
Updated
via NVD·02:14 PM
SeverityWeakness
Event
via NVD·02:14 PM
Sep 11, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Sep 16, 2024
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Nov 29, 2024
Updated
via NVD·12:15 PM
Affected Software
Jan 27, 2025
Updated
via Apple·12:00 AM
Description
Mar 3, 2025
Updated
via Apple·12:00 AM
Affected Software
Updated
via Apple·12:00 AM
DescriptionAffected Software
Updated
via Apple·12:00 AM
Description
Aug 6, 2025
Updated
via Apple·12:00 AM
Affected Software
Updated
via Apple·12:00 AM
DescriptionAffected Software
Updated
via Apple·12:00 AM
Description
Nov 4, 2025
Updated
via NVD·05:16 PM
Affected Software
Jun 17, 2026
Updated
via NVD·07:48 AM
Affected Software
Nov 3, 2026
Updated
via OSV·06:32 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-41957?

CVE-2024-41957 has been classified with a medium severity level due to its permissions issue.

2

How do I fix CVE-2024-41957?

To fix CVE-2024-41957, update the affected Vim package to version 2:9.1.0709-1 or later.

3

Which software is impacted by CVE-2024-41957?

CVE-2024-41957 affects Vim versions up to 9.1.0647 and macOS Sequoia versions up to 15.

4

What type of vulnerability is CVE-2024-41957?

CVE-2024-41957 is classified as a permissions issue that required additional restrictions.

5

Is CVE-2024-41957 actively exploited in the wild?

As of now, there is no public information indicating that CVE-2024-41957 is actively exploited.

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