Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-23218 Overview
CVE-2024-23218 is a timing side-channel vulnerability in Apple's cryptographic functions across iOS, iPadOS, macOS, tvOS, and watchOS. The flaw stems from non-constant-time operations when processing RSA PKCS#1 v1.5 ciphertexts. An attacker measuring decryption timing variations can recover plaintext from legacy RSA PKCS#1 v1.5 ciphertexts without possessing the private key. The weakness is tracked under CWE-203: Observable Discrepancy. Apple addressed the issue by implementing constant-time computation across affected platforms.
Critical Impact
An attacker with the ability to observe decryption timing can decrypt legacy RSA PKCS#1 v1.5 ciphertexts without access to the private key, exposing data confidentiality in applications relying on this padding scheme.
Affected Products
- Apple iOS and iPadOS prior to 16.7.6 and 17.3
- Apple macOS Monterey 12.7.4, Ventura 13.6.5, and Sonoma 14.3
- Apple tvOS 17.3 and watchOS 10.3
Discovery Timeline
- 2024-01-23 - CVE-2024-23218 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-23218
Vulnerability Analysis
The vulnerability resides in Apple's cryptographic library handling of RSA decryption with PKCS#1 v1.5 padding. The decryption routine executes operations whose duration depends on the content of the decrypted plaintext, specifically on padding structure validity. By measuring these timing differences across many adaptive queries, an attacker can mount a Bleichenbacher-style attack that progressively recovers the plaintext.
The vulnerability is categorized as a Side Channel Attack and Timing Attack. Exploitation requires an attacker to submit crafted ciphertexts to a system willing to decrypt them and to observe the response timing with sufficient precision. Although attack complexity is high, successful exploitation yields full plaintext recovery without ever compromising the RSA private key material.
Root Cause
The underlying issue is that the RSA PKCS#1 v1.5 decryption and padding verification path was not fully constant-time. Branches and memory accesses dependent on padding bytes produced measurable timing variations. Apple's fix enforces constant-time computation so that execution duration does not leak information about the decrypted content.
Attack Vector
The attack vector is network-based with no privileges or user interaction required. An attacker must repeatedly send chosen ciphertexts to an oracle performing RSA PKCS#1 v1.5 decryption and measure the response time. Because the attack requires precise timing measurements and many queries, exploitation is practical primarily against services that expose decryption as an operation, such as TLS endpoints still negotiating RSA key transport or custom protocols using PKCS#1 v1.5. No published proof-of-concept targeting Apple's implementation is listed in the available references. Technical context is available in the Apple Support advisory HT214055.
Detection Methods for CVE-2024-23218
Indicators of Compromise
- Unusually high volumes of RSA decryption requests from a single remote source, consistent with adaptive chosen-ciphertext probing
- Repeated TLS handshake failures or malformed ClientKeyExchange messages against services still negotiating RSA key transport
- Long-running sessions issuing structurally similar ciphertexts with incremental byte variations
Detection Strategies
- Inventory endpoints running vulnerable Apple OS versions and flag any still negotiating TLS_RSA_* cipher suites that use PKCS#1 v1.5 key transport
- Baseline normal RSA decryption request rates per service, and alert on sustained deviations suggestive of oracle probing
- Correlate network telemetry with host-level logs to identify repeat offenders attempting Bleichenbacher-style patterns
Monitoring Recommendations
- Enable TLS handshake logging on exposed services and monitor for high rates of decryption failures from the same source
- Track Apple OS build versions in asset management to confirm patch adoption against iOS 17.3, iPadOS 17.3, macOS Sonoma 14.3, Ventura 13.6.5, Monterey 12.7.4, tvOS 17.3, and watchOS 10.3
- Review cryptographic libraries used by custom applications for continued reliance on RSA PKCS#1 v1.5 and migrate to RSA-OAEP or authenticated key exchange
How to Mitigate CVE-2024-23218
Immediate Actions Required
- Update affected devices to iOS 16.7.6/17.3, iPadOS 16.7.6/17.3, macOS Monterey 12.7.4, macOS Ventura 13.6.5, macOS Sonoma 14.3, tvOS 17.3, or watchOS 10.3
- Audit services and applications that perform RSA PKCS#1 v1.5 decryption and migrate to RSA-OAEP where feasible
- Disable TLS cipher suites using RSA key transport in favor of ECDHE-based forward-secret suites
Patch Information
Apple released fixes replacing the vulnerable decryption path with constant-time computation. Refer to the vendor advisories: Apple Support HT214055, Apple Support HT214059, Apple Support HT214060, and Apple Support HT214061. Additional detail is available in Apple Support Document 120304 and Apple Support Document 120306.
Workarounds
- Where immediate patching is not possible, restrict network exposure of services that perform RSA PKCS#1 v1.5 decryption to trusted networks only
- Rate-limit decryption endpoints to reduce feasibility of timing measurement campaigns
- Disable legacy TLS cipher suites that rely on RSA key transport and require ECDHE for session establishment
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

