Out-of-Bounds Vulnerability in libriscv Emulator Affecting RISC-V Applications
CVE-2026-62958

7.9HIGH

Key Information:

Vendor

Libriscv

Status
Vendor
CVE Published:
30 October 2026

What is CVE-2026-62958?

The libriscv emulator, designed for RISC-V applications, is susceptible to an out-of-bounds read vulnerability due to inadequate validation of ELF binary files. Specifically, the issue arises in how the emulator processes PT_LOAD program headers and section headers. Malformed entries in the .text section can bypass these checks, allowing crafted ELF binaries to potentially access memory segments beyond allocated buffers. This could lead to crashes in the emulator (e.g., SIGSEGV) or, under certain conditions, permit unauthorized access to the host's memory, risking sensitive data exposure. The vulnerability is addressed in version 1.18, emphasizing the importance of updating to mitigate risks.

Affected Version(s)

libriscv < 1.18

References

CVSS V3.1

Score:
7.9
Severity:
HIGH
Confidentiality:
Low
Integrity:
None
Availability:
Low
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.