CVE-2018-4398
Description
An issue existed in the method for determining prime numbers. This issue was addressed by using pseudorandom bases for testing of primes. This issue affected versions prior to iOS 12.1, macOS Mojave 10.14.1, tvOS 12.1, watchOS 5.1, iTunes 12.9.1, iCloud for Windows 7.8.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A weakness in the Miller-Rabin primality test in CoreCrypto allowed an attacker to incorrectly identify prime numbers, impacting multiple Apple platforms.
Vulnerability
A weakness existed in the Miller-Rabin primality test used by CoreCrypto, which could allow an attacker to incorrectly identify prime numbers [4]. The issue affected versions prior to iOS 12.1, macOS Mojave 10.14.1, tvOS 12.1, watchOS 5.1, iTunes 12.9.1, and iCloud for Windows 7.8.
Exploitation
An attacker could exploit this by influencing cryptographic operations that rely on correct prime generation. No explicit user interaction is required; the bug is in the library code.
Impact
Successful exploitation could lead to the misidentification of composite numbers as primes, potentially undermining cryptographic security, such as allowing signature forgery or decryption [4].
Mitigation
Apple addressed the issue by using pseudorandom bases for prime testing, implemented in updates released October 30, 2018 for the affected platforms. No workarounds are available.
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
3- Range: <10.14.1
- Range: <12.1
- Range: <12.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
6- support.apple.com/kb/HT209192mitrex_refsource_MISC
- support.apple.com/kb/HT209193mitrex_refsource_MISC
- support.apple.com/kb/HT209194mitrex_refsource_MISC
- support.apple.com/kb/HT209195mitrex_refsource_MISC
- support.apple.com/kb/HT209197mitrex_refsource_MISC
- support.apple.com/kb/HT209198mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.