Back
CVE-2018-4398
An issue existed in the method for determining prime numbers. This issue was addressed by using pseudorandom bases for testing of primes.…
High7.5EPSS 1.6%
- Published
- Updated
- Reserved
- Assigned by
- apple
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 1.6% · top 24% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
- An attacker may be able to exploit a weakness in the Miller-Rabin primality test to incorrectly identify prime numbers
- CWE-20 (opens in a new tab)All about CWE-20 and its CVEs
Affected products
iOS, macOS, tvOS, watchOS, iTunes for Windows, iCloud for Windows
- 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
References (6)
- https://support.apple.com/kb/HT209193 (opens in a new tab)x_refsource_MISCx_transferred
- https://support.apple.com/kb/HT209192 (opens in a new tab)x_refsource_MISCx_transferred
- https://support.apple.com/kb/HT209195 (opens in a new tab)x_refsource_MISCx_transferred
- https://support.apple.com/kb/HT209194 (opens in a new tab)x_refsource_MISCx_transferred
- https://support.apple.com/kb/HT209197 (opens in a new tab)x_refsource_MISCx_transferred
- https://support.apple.com/kb/HT209198 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-4398)Record last updated .