XiangShan Speculative Execution Vulnerability Allowing Side-Channel Information Access

Vulnerability

A vulnerability in XiangShan Nanhu V2 and XiangShan Kunmighu V3 processors allows attackers to exploit speculative execution and indirect branch prediction. This exploitation can lead to unauthorized access to sensitive information through side-channel analysis of the data cache. The vulnerability was identified in an academic project that tested the Spectre-v1 attack using a Flush+Reload cache side channel.

Impact

Exploitation of this vulnerability could lead to unauthorized access to sensitive information through side-channel analysis, similar to other Spectre vulnerabilities.

Reproduction

The vulnerability can be reproduced by setting up the XiangShan simulation environment, ensuring the processor is at the correct commit for the desired version (V2 or V3). After compiling the processor with the appropriate configuration, the Spectre-v1 attack can be executed by running a compiled workload that exploits the vulnerability, using the XiangShan emulator.

Added: Dec 10, 2025, 6:19 PM
Updated: Dec 10, 2025, 6:19 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
4.2
remediation
0.0
relevance
1.4
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.