Cyber Resilience

CVE-2024-40788

Memory Safety in Apple Macos ≤ 12.7.6

Published
29 July 2024
Modified
02 April 2026
Patch / advisory
CVSS Score v3.1 5.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0032 24th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2024-40788 is a medium-severity Type Confusion (CWE-843) vulnerability in Apple Macos. Its CVSS base score is 5.5 (Medium).

Operationally, ranked at the 24th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

EU & UK References

Vulnerability Data

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.…

more

A local attacker may be able to cause unexpected system shutdown.

CWE(s)

Related Threats

CVEs Like This One

CVE-2025-24137Same product: Apple Ipados
CVE-2026-28822Same product: Apple Ipados
CVE-2026-28983Same product: Apple Ipados
CVE-2025-24129Same product: Apple Ipados
CVE-2025-43355Same product: Apple Ipados
CVE-2025-31206Same product: Apple Ipados
CVE-2024-54505Same product: Apple Ipados
CVE-2023-27930Same product: Apple Ipados
CVE-2025-30445Same product: Apple Ipados
CVE-2024-23222Same product: Apple Ipados

Affected Assets

apple
ipados
≤ 16.7.9 · 17.0 — 17.6
apple
iphone os
≤ 16.7.9 · 17.0 — 17.6
apple
macos
≤ 12.7.6 · 13.0 — 13.6.8 · 14.0 — 14.6
apple
tvos
≤ 17.6
apple
visionos
≤ 1.3
apple
watchos
≤ 10.6

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.5.2
  • V3.2.3
  • V15.3.5

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly prevent type-confusion flaws via safe typing, static analysis, and code review while the control itself addresses many additional weaknesses.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing in development can detect type-confusion vulnerabilities through fuzzing and static analysis.

prevents

Secure SDLC mandates type-safe design and review that can catch type-confusion flaws.

prevents

Application security requirements can specify strong typing and interface contracts that reduce type confusion.

prevents

Secure architecture principles promote type-safe languages and memory-safety mechanisms that mitigate type confusion.

prevents

Secure coding standards directly forbid unsafe type casts and require static-analysis checks for type confusion.

References