Skip to content
Crypto Advisory Advanced CVE-2024-23218

CoreCrypto: An attacker may be able to decrypt legacy RSA PKCS#1 v1.5 ciphertexts without having the private key (CVE-2024-23218)

A timing side-channel in CoreCrypto's RSA PKCS#1 v1.5 decryption could allow an attacker to recover plaintext without the private key. The issue was addressed by improving constant-time computation in cryptographic functions.

Clemens Lang Follow

Originally disclosed on Apple

Impact: An attacker may be able to decrypt legacy RSA PKCS#1 v1.5 ciphertexts without having the private key

Description: A timing side-channel issue was addressed with improvements to constant-time computation in cryptographic functions.

Available for: iPhone 8, iPhone 8 Plus, iPhone X, iPad 5th generation, iPad Pro 9.7-inch, and iPad Pro 12.9-inch 1st generation

The original report as published on Apple's security release notes, by Clemens Lang. Images and videos are our own copies; raw HTML is shown as text. View it on Apple's security release notes.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the RSA PKCS#1 v1.5 decryption implementation was not fully constant-time, leaking timing information that could be exploited.

What the attacker needed

Ability to measure decryption timing; legacy RSA PKCS#1 v1.5 ciphertexts

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a timing attack on RSA decryption. By measuring how long decryption takes, an attacker might learn information about the private key or the plaintext, without ever stealing the key. The fix makes the decryption take the same amount of time regardless of the input.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

More from Apple

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.