CVE-2024-40788: Input Validation

Published 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, iOS 17.6 and iPadOS 17.6, macOS Monterey 12.7.6, macOS Sonoma 14.6, macOS Ventura 13.6.8, tvOS 17.6, visionOS 1.3, watchOS 10.6. A local attacker may be able to cause unexpected system shutdown.

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

Minghao Lin(Zhejiang University), Jiaxun Zhu(Zhejiang University), sqrtpwn, Patrick Wardle(DoubleYou), Adam M., CVE-2024-6387, Mickey Jin@@patch1t, Zhongquan Li@@Guluisacat(Dawn Security Lab of JingDong), Csaba Fitzl@@theevilbit(Kandji), Claudio Bozzato(Cisco Talos), Francesco Benvenuto(Cisco Talos), CVE-2024-23296, 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), Kirin@@Pwnrin, Joshua Jones, an anonymous researcher, Marcio Almeida(Tanto Security), Jiahui Hu (梅零落)(NorthSea), Meng Zhang (鲸落)(NorthSea), Matthew Loewen, Michael DePlante@@izobashi(Trend Micro Zero Day Initiative), D4m0n, Amir Bazine(CrowdStrike Counter Adversary Operations), Karsten König(CrowdStrike Counter Adversary Operations), CVE-2024-2004, CVE-2024-2379, CVE-2024-2398, CVE-2024-2466, CVE-2023-6277, CVE-2023-52356, Yisumi, Minghao Lin(Baidu Security), (Baidu Security), Ye Zhang@@VAR10CK(Baidu Security), Junsung Lee(Trend Micro Zero Day Initiative), Gandalf4a, Bistrit Dahal, Srijan Poudel, Abhay Kailasia@@abhay_kailasia(Lakshmi Narain College of Technology Bhopal India), w0wbox, (CrowdStrike Counter Adversary Operations), CertiK SkyFall Team, CVE-2024-40805, Wojciech Regula(SecuRing), 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, Jacob Braun, Linwz(DEVCORE), IES Red Team(ByteDance), Yeto, Wang Yu(Cyberserval), Yann Gascuel(Alter Solutions), Minghao Lin, Meysam Firouzi@@R00tkitSMM, Pr(Bar), Pr(Hebrew University), EP

Affected Software

20 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 macOS Monterey<12.7.6
12.7.6
Apple macOS Ventura<13.6.8
13.6.8
Apple iOS<17.6
17.6
Apple iPadOS<17.6
17.6
Apple iOS<16.7.9
16.7.9
Apple iPadOS<16.7.9
16.7.9
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<12.7.6
Apple macOS>=13.0<13.6.8
Apple macOS>=14.0<14.6
Apple tvOS<17.6
Apple visionOS<1.3
Apple WatchOS<10.6

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 macOS to a version that resolves this vulnerability.

    Fixed in 12.7.6
  6. Upgrade

    Upgrade macOS Ventura to a version that resolves this vulnerability.

    Fixed in 13.6.8
  7. Upgrade

    Upgrade to a fixed release 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 17.6
  9. Upgrade

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

    Fixed in 17.6
  10. Upgrade

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

    Fixed in 16.7.9
  11. Upgrade

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

    Fixed in 16.7.9
  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 10.6
  14. Upgrade

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

    Fixed in 1.3
  15. Upgrade

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

    Fixed in 14.6
  16. Upgrade

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

    Fixed in 12.7.6
  17. Upgrade

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

    Fixed in 13.6.8
  18. Upgrade

    Upgrade iOS to a version that resolves this vulnerability.

    Fixed in 16.7.9
  19. Upgrade

    Upgrade iPadOS to a version that resolves this vulnerability.

    Fixed in 16.7.9
  20. Upgrade

    Upgrade iOS to a version that resolves this vulnerability.

    Fixed in 17.6
  21. Upgrade

    Upgrade iPadOS to a version that resolves this vulnerability.

    Fixed in 17.6
  22. Upgrade

    Upgrade macOS Monterey to a version that resolves this vulnerability.

    Fixed in 12.7.6
  23. Upgrade

    Upgrade macOS Sonoma to a version that resolves this vulnerability.

    Fixed in 14.6
  24. Upgrade

    Upgrade watchOS to a version that resolves this vulnerability.

    Fixed in 10.6

Event History

Jul 29, 2024
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Updated
via Apple·12:00 AM
Affected Software
CVE Published
via MITRE·10:17 PM
Data Sourced
via MITRE·10:17 PM
DescriptionWeakness
Data Sourced
via NVD·11:15 PM
Description
Aug 26, 2024
Data Sourced
via NVD·05:49 PM
SeverityWeaknessAffected Software
Oct 15, 2024
Updated
via Apple·12:00 AM
Affected Software
Oct 27, 2024
Updated
via NVD·01:35 AM
SeverityWeaknessAffected Software
Event
via NVD·01:35 AM
Nov 13, 2024
Updated
via Apple·12:00 AM
Affected Software
Mar 20, 2025
Updated
via Apple·12:00 AM
Affected Software
May 14, 2025
Updated
via Apple·12:00 AM
Affected Software
Nov 4, 2025
Updated
via NVD·06:16 PM
Affected Software
Apr 2, 2026
Updated
via MITRE·06:20 PM
Description
Updated
via NVD·07:17 PM
Description

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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