CVE-2024-40782: Use After Free

Published Jul 29, 2024
·
Updated

A use-after-free issue was addressed with improved memory management. This issue is fixed in Safari 17.6, iOS 16.7.9 and iPadOS 16.7.9, iOS 17.6 and iPadOS 17.6, macOS Sonoma 14.6, tvOS 17.6, visionOS 1.3, watchOS 10.6. Processing maliciously crafted web content may lead to an unexpected process crash.

Other sources

Accounts. The issue was addressed with improved checks.

— Apple

AirDrop. This issue was addressed through improved state management.

— Apple

apache. This is a vulnerability in open source code and Apple Software is among the affected projects. The CVE-ID was assigned by a third party. Learn more about the issue and CVE-ID at cve.org.

— Apple

APFS. The issue was addressed with improved restriction of data container access.

— Apple

Apple Neural Engine. The issue was addressed with improved memory handling.

— Apple

Credit

Mickey Jin@@patch1t, D4m0n, w0wbox, Csaba Fitzl@@theevilbit(Kandji), CVE-2023-6277, CVE-2023-52356, Yisumi, Junsung Lee(Trend Micro Zero Day Initiative), Amir Bazine(CrowdStrike Counter Adversary Operations), Karsten König(CrowdStrike Counter Adversary Operations), Gandalf4a, CertiK SkyFall Team, Minghao Lin(Zhejiang University), Jiaxun Zhu(Zhejiang University), CVE-2024-40805, Jacob Braun, Wojciech Regula(SecuRing), Zhongquan Li@@Guluisacat(Dawn Security Lab of JingDong), an anonymous researcher, Kirin@@Pwnrin, Bistrit Dahal, Srijan Poudel, Abhay Kailasia@@abhay_kailasia(Lakshmi Narain College of Technology Bhopal India), ajajfxhj, Huang Xilin(Ant Group Light), Maksymilian Motyl, Johan Carlsson (joaxcar), Seunghyun Lee@@0x10n(KAIST Hacking Lab working with Trend Micro Zero Day Initiative), Gary Kwong, Andreas Jaegersberger, Ro Achterberg, Linwz(DEVCORE), (CrowdStrike Counter Adversary Operations), Mateen Alinaghi, (Dawn Security Lab of JingDong), Mickey Jin@@patch1t(Kandji), Jiahui Hu (梅零落)(NorthSea), Meng Zhang (鲸落)(NorthSea), Matthew Butler, CVE-2024-4558, IES Red Team(ByteDance), Yeto, Michael DePlante@@izobashi(Trend Micro Zero Day Initiative), CVE-2024-2004, CVE-2024-2379, CVE-2024-2398, CVE-2024-2466, Yann Gascuel(Alter Solutions), Wang Yu(Cyberserval), Ye Zhang@@VAR10CK(Baidu Security), sqrtpwn, Patrick Wardle(DoubleYou), Rodolphe BRUNETTI@@eisw0lf, Adam M., CVE-2024-6387, Pedro Tôrres@@t0rr3sp3dr0, (Kandji), Claudio Bozzato(Cisco Talos), Francesco Benvenuto(Cisco Talos), Csaba Fitzl@@theevilbit(Offensive Security), Yadhu Krishna M(Cyber Security At Suma Soft Pvt), Narendra Bhati(Cyber Security At Suma Soft Pvt), Manager(Cyber Security At Suma Soft Pvt), Pune (India), Joshua Jones, Jiwon Park, Marcio Almeida(Tanto Security), Arsenii Kostromin (0x3c3e), Pr(Bar), Pr(Hebrew University), EP, Hanqiu Wang(University of Florida), Zihao Zhan(Texas Tech University), Haoqi Shan(Certik), Siqi Dai(University of Florida), Max Panoff(University of Florida), (University of Florida), Shuo Wang(University of Florida), Meysam Firouzi@@R00tkitSMM, Minghao Lin

Affected Software

42 affected componentsFixes available
Apple macOS Sonoma<14.6
14.6
Apple tvOS<17.6
17.6
Apple WatchOS<10.6
10.6
Apple visionOS<1.3
1.3
Apple iOS<17.6
17.6
Apple iPadOS<17.6
17.6
Apple Safari<17.6
17.6
Apple iOS<16.7.9
16.7.9
Apple iPadOS<16.7.9
16.7.9
Apple Safari<17.6
Apple iPadOS<16.7.9
Apple iPadOS>=17.0<17.6
Apple iPhone OS<16.7.9
Apple iPhone OS>=17.0<17.6
Apple macOS>=14.0<14.6
Apple tvOS<17.6
Apple visionOS<1.3
Apple WatchOS<10.6
ubuntu/qtwebkit-opensource-src*
ubuntu/webkit2gtk*
ubuntu/qtwebkit-source*
ubuntu/webkitgtk*
ubuntu/webkit2gtk*
ubuntu/qtwebkit-opensource-src*
ubuntu/qtwebkit-source*
ubuntu/webkitgtk*
ubuntu/webkit2gtk*
ubuntu/qtwebkit-opensource-src*
ubuntu/wpewebkit*
ubuntu/qtwebkit-opensource-src*
ubuntu/webkit2gtk<2.44.3-0ubuntu0.22.04.1
2.44.3-0ubuntu0.22.04.1
ubuntu/wpewebkit*
ubuntu/qtwebkit-opensource-src*
ubuntu/webkit2gtk<2.44.3-0ubuntu0.24.04.1
2.44.3-0ubuntu0.24.04.1
debian/webkit2gtk
2.50.6-1~deb12u22.50.6-1~deb12u12.52.6-1~deb13u12.54.0-1~deb13u32.52.6-12.54.2-2
debian/wpewebkit<=2.38.6-1
2.48.3-12.54.2-1
debian/webkit2gtk<2.44.3-1~deb12u1
2.44.3-1~deb12u1
debian/webkit2gtk<2.44.3-1
2.44.3-1
debian/webkit2gtk<2.44.3-1
2.44.3-1
debian/wpewebkit*
debian/wpewebkit<2.44.3-1
2.44.3-1
debian/wpewebkit<2.44.3-1
2.44.3-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apple macOS to a version that resolves this vulnerability.

    Fixed in 14.6
  2. Upgrade

    Upgrade tvOS to a version that resolves this vulnerability.

    Fixed in 17.6
  3. Upgrade

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

    Fixed in 10.6
  4. Upgrade

    Upgrade visionOS to a version that resolves this vulnerability.

    Fixed in 1.3
  5. Upgrade

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

    Fixed in 10.6
  6. Upgrade

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

    Fixed in 17.6
  7. Upgrade

    Upgrade Safari to a version that resolves this vulnerability.

    Fixed in 17.6
  8. Upgrade

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

    Fixed in 16.7.9
  9. Upgrade

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

    Fixed in 16.7.9
  10. Upgrade

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

    Fixed in 17.6
  11. Upgrade

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

    Fixed in 17.6
  12. Upgrade

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

    Fixed in 16.7.9
  13. Upgrade

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

    Fixed in 1.3
  14. Upgrade

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

    Fixed in 2.44.3-0ubuntu0.22.04.1
  15. Upgrade

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

    Fixed in 2.44.3-0ubuntu0.24.04.1
  16. Upgrade

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

    Fixed in 2.50.6-1~deb12u2Fixed in 2.50.6-1~deb12u1Fixed in 2.52.6-1~deb13u1Fixed in 2.54.0-1~deb13u3Fixed in 2.52.6-1Fixed in 2.54.2-2
  17. Upgrade

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

    Fixed in 2.48.3-1Fixed in 2.54.2-1
  18. Upgrade

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

    Fixed in 2.44.3-1~deb12u1
  19. Upgrade

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

    Fixed in 2.44.3-1
  20. Upgrade

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

    Fixed in 2.44.3-1
  21. Upgrade

    Upgrade iOS to a version that resolves this vulnerability.

    Fixed in 16.7.9
  22. Upgrade

    Upgrade iPadOS to a version that resolves this vulnerability.

    Fixed in 16.7.9
  23. Upgrade

    Upgrade iOS to a version that resolves this vulnerability.

    Fixed in 17.6
  24. Upgrade

    Upgrade iPadOS to a version that resolves this vulnerability.

    Fixed in 17.6
  25. Upgrade

    Upgrade macOS Sonoma to a version that resolves this vulnerability.

    Fixed in 14.6
  26. Upgrade

    Upgrade watchOS to a version that resolves this vulnerability.

    Fixed in 10.6

Event History

Jul 29, 2024
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·10:17 PM
Data Sourced
via MITRE·10:17 PM
DescriptionWeakness
Data Sourced
via OSV·11:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeaknessAffected Software
Jul 31, 2024
Data Sourced
via Red Hat·03:43 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-40782?

CVE-2024-40782 is classified as a high-severity use-after-free vulnerability that could lead to unexpected application crashes.

2

How do I fix CVE-2024-40782?

To fix CVE-2024-40782, update to the latest versions including iOS 16.7.9, iPadOS 16.7.9, Safari 17.6, and other affected Apple products.

3

What products are affected by CVE-2024-40782?

CVE-2024-40782 affects several Apple products including Safari, iOS, iPadOS, watchOS, tvOS, visionOS, and macOS Sonoma.

4

What type of vulnerability is CVE-2024-40782?

CVE-2024-40782 is a use-after-free vulnerability that involves improper memory management.

5

What might happen if I do not address CVE-2024-40782?

Failure to address CVE-2024-40782 could result in application crashes or potential exploitation by attackers through maliciously crafted web content.

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