# CVE-2021-42114: Scalable Rowhammering In the Frequency Domain to Bypass TRR Mitigations On Modern DDR4/LPDDR4X Devices

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.0
- **CVSS:** 9.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.98% (percentile 88, 2026-11-28)
- **CWE:** CWE-20
- **Published:** 2021-11-16T11:45:20.110Z
- **Modified:** 2026-06-17T04:09:20.563Z

## 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

## 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

- 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)

## 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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-28).

### 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.

## References

- exploit: <https://comsec.ethz.ch/research/dram/blacksmith/>
- exploit: <https://github.com/comsec-group/blacksmith>
- exploit: <https://comsec.ethz.ch/wp-content/files/blacksmith_sp22.pdf>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-42114>

HTML: <https://flawdb.com/CVE-2021-42114> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-42114>
