CVE-2021-42114
Scalable Rowhammering In the Frequency Domain to Bypass TRR Mitigations On Modern DDR4/LPDDR4X Devices
Mitigation
- Vendor workaround: Using ECC DRAM substantially increases the difficulty of carrying out Rowhammer attacks on systems, although previous work [1] showed that it does not provide complete protection.
- [1] L. Cojocar, K. Razavi, C. Giuffrida, and H. Bos, “Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks,” San Francisco, CA, USA, May 2019, pp. 55–71. DOI: 10.1109/SP.2019.00089.
Who should check
- Anyone running Micron ddr4_sdram 1
- Anyone running Samsung ddr4_sdram 1
- Anyone running SK Hynix ddr4_sdram 1
- Anyone running Micron lpddr4 1
- Anyone running Samsung lpddr4 1
- Anyone running SK Hynix lpddr4 1
Vulnerability facts
- Affected
- Micron ddr4_sdram 1; Samsung ddr4_sdram 1; SK Hynix ddr4_sdram 1; Micron lpddr4 1; Samsung lpddr4 1; SK Hynix lpddr4 1
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.0 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 2.98% chance of exploitation in 30 days (percentile 88, 2026-11-26)
- CWE
- CWE-20
- Modified
Description
Modern DRAM devices (PC-DDR4, LPDDR4X) are affected by a vulnerability in their internal Target Row Refresh (TRR) mitigation against Rowhammer attacks. Novel non-uniform Rowhammer access patterns, consisting of aggressors with different frequencies, phases, and amplitudes allow triggering bit flips on affected memory modules using our Blacksmith fuzzer. The patterns generated by Blacksmith were able to trigger bitflips on all 40 PC-DDR4 DRAM devices in our test pool, which cover the three major DRAM manufacturers: Samsung, SK Hynix, and Micron. This means that, even when chips advertised as Rowhammer-free are used, attackers may still be able to exploit Rowhammer. For example, this enables privilege-escalation attacks against the kernel or binaries such as the sudo binary, and also triggering bit flips in RSA-2048 keys (e.g., SSH keys) to gain cross-tenant virtual-machine access. We can confirm that DRAM devices acquired in July 2020 with DRAM chips from all three major DRAM vendors (Samsung, SK Hynix, Micron) are affected by this vulnerability. For more details, please refer to our publication.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Micron ddr4_sdram | 1 | — | cvelist |
| Samsung ddr4_sdram | 1 | — | cvelist |
| SK Hynix ddr4_sdram | 1 | — | cvelist |
| Micron lpddr4 | 1 | — | cvelist |
| Samsung lpddr4 | 1 | — | cvelist |
| SK Hynix lpddr4 | 1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-42114. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-42114.md Affected: Micron ddr4_sdram 1; Samsung ddr4_sdram 1; SK Hynix ddr4_sdram 1; Micron lpddr4 1; Samsung lpddr4 1; SK Hynix lpddr4 1 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for Micron ddr4_sdram, Samsung ddr4_sdram, SK Hynix ddr4_sdram, Micron lpddr4, Samsung lpddr4, SK Hynix lpddr4: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2021-42114 being exploited?
There is no confirmed exploitation: CVE-2021-42114 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 2.98% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-42114?
Critical: CVSS 9.0 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2021-42114?
Micron ddr4_sdram 1; Samsung ddr4_sdram 1; SK Hynix ddr4_sdram 1; Micron lpddr4 1; Samsung lpddr4 1; SK Hynix lpddr4 1.
Is there a fix for CVE-2021-42114?
No fixed version is listed in the sources yet. Vendor workaround: Using ECC DRAM substantially increases the difficulty of carrying out Rowhammer attacks on systems, although previous work [1] showed that it does not provide complete protection. [1] L. Cojocar, K. Razavi, C. Giuffrida, and H. Bos, “Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks,” San Francisco, CA, USA, May 2019, pp. 55–71. DOI: 10.1109/SP.2019.00089.
How do I check if I'm affected by CVE-2021-42114?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.