CWE
20 190 362 119 843
Advisory Published
CVE Published
Updated

CVE-2024-40788: Input Validation

First published: Mon Jul 29 2024(Updated: )

A type confusion issue was addressed with improved memory handling. This issue is fixed in iOS 16.7.9 and iPadOS 16.7.9, macOS Ventura 13.6.8, macOS Monterey 12.7.6, iOS 17.6 and iPadOS 17.6, watchOS 10.6, tvOS 17.6, visionOS 1.3, macOS Sonoma 14.6. A local attacker may be able to cause unexpected system shutdown.

Credit: Minghao Lin Zhejiang UniversityJiaxun Zhu Zhejiang UniversityCertiK SkyFall Team sqrtpwn Patrick Wardle DoubleYouCVE-2024-40805 Rodolphe BRUNETTI @eisw0lf Adam M. CVE-2024-6387 Mickey Jin @patch1t Zhongquan Li @Guluisacat Dawn Security Lab of JingDongMickey Jin @patch1t Kandji KandjiCsaba Fitzl @theevilbit KandjiMateen Alinaghi Claudio Bozzato Cisco TalosFrancesco Benvenuto Cisco TalosCsaba Fitzl @theevilbit Offensive SecurityYadhu Krishna M Cyber Security At Suma Soft PvtNarendra Bhati Cyber Security At Suma Soft PvtManager Cyber Security At Suma Soft PvtPune (India) Wojciech Regula SecuRing Dawn Security Lab of JingDongKirin @Pwnrin Joshua Jones Jiwon Park an anonymous researcher Marcio Almeida Tanto SecurityBistrit Dahal Srijan Poudel Jiahui Hu (梅零落) NorthSeaMeng Zhang (鲸落) NorthSeaArsenii Kostromin (0x3c3e) Huang Xilin Ant Group LightMaksymilian Motyl Johan Carlsson (joaxcar) Seunghyun Lee @0x10n KAIST Hacking Lab working with Trend Micro Zero Day InitiativeCVE-2024-4558 Matthew Butler Gary Kwong Andreas Jaegersberger Ro Achterberg Ye Zhang @VAR10CK Baidu SecurityJunsung Lee Trend Micro Zero Day InitiativeGandalf4a D4m0n w0wbox CVE-2023-6277 CVE-2023-52356 Yisumi CrowdStrike Counter Adversary OperationsAmir Bazine CrowdStrike Counter Adversary OperationsKarsten König CrowdStrike Counter Adversary OperationsJacob Braun Abhay Kailasia @abhay_kailasia Lakshmi Narain College of Technology Bhopal IndiaMinghao Lin Baidu Security Baidu SecurityMichael DePlante @izobashi Trend Micro Zero Day InitiativeCVE-2024-2004 CVE-2024-2379 CVE-2024-2398 CVE-2024-2466 CVE-2024-23296 Matthew Loewen Yann Gascuel Alter SolutionsIES Red Team ByteDanceYeto Pr BarPr Hebrew University EP Hanqiu Wang University of FloridaZihao Zhan Texas Tech UniversityHaoqi Shan CertikSiqi Dai University of FloridaMax Panoff University of Florida University of FloridaShuo Wang University of FloridaMinghao Lin Meysam Firouzi @R00tkitSMM product-security@apple.com

Affected SoftwareAffected VersionHow to fix
Apple macOS<14.6
14.6
tvOS<17.6
17.6
Apple iOS, iPadOS, and watchOS<16.7.9
16.7.9
Apple iOS, iPadOS, and watchOS<16.7.9
16.7.9
Apple iOS, iPadOS, and watchOS<17.6
17.6
Apple iOS, iPadOS, and watchOS<17.6
17.6
Apple iOS, iPadOS, and watchOS<10.6
10.6
visionOS<1.3
1.3
Apple iOS, iPadOS, and watchOS<16.7.9
Apple iOS, iPadOS, and watchOS>=17.0<17.6
iStyle @cosme iPhone OS<16.7.9
iStyle @cosme iPhone OS>=17.0<17.6
Apple iOS and macOS<12.7.6
Apple iOS and macOS>=13.0<13.6.8
Apple iOS and macOS>=14.0<14.6
tvOS<17.6
visionOS<1.3
Apple iOS, iPadOS, and watchOS<10.6
macOS<12.7.6
12.7.6
macOS Ventura<13.6.8
13.6.8
<10.6
10.6
<17.6
17.6
<17.6
17.6
<13.6.8
13.6.8

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-40788?

    CVE-2024-40788 is classified as a potentially high-severity vulnerability due to the possibility of local attackers exploiting a type confusion issue.

  • How do I fix CVE-2024-40788?

    To mitigate CVE-2024-40788, you should update to the latest versions of affected Apple software, such as iOS 17.6 or macOS Ventura 13.6.8.

  • What systems are affected by CVE-2024-40788?

    CVE-2024-40788 affects multiple Apple systems including iOS, iPadOS, macOS, tvOS, watchOS, and visionOS running specific versions.

  • How can CVE-2024-40788 be exploited?

    A local attacker may exploit CVE-2024-40788 by leveraging the type confusion vulnerability to cause unexpected behavior in the affected Apple device.

  • What does a type confusion issue mean in the context of CVE-2024-40788?

    In the context of CVE-2024-40788, a type confusion issue occurs when a program misinterprets a variable's type, potentially leading to memory corruption and unexpected execution flows.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203