CVE Feed
7.9 High

libriscv is a RISC-V sandbox and emulator.

CVE-2026-62958

libriscv is a RISC-V sandbox and emulator. Prior to 1.18, a crafted ELF binary can cause out-of-bounds reads in the host emulator. Memory ::binaryloader checks PTLOAD program-header bounds, but Memory ::serializeexecutesegment trusts section-header shoffset and shsize when locating .text without verifying the file range against mbinary.size(); Memory ::lookup() has a similar section-table problem. Malformed .text or .symtab offsets can therefore bypass the program-header checks and point outside the binary buffer, crashing rvlinux. With suitable memory layout or integer overflow, out-of-buffer host heap memory may instead be mapped into the guest by createexecutesegment(), potentially exposing host memory. The reported reproducer demonstrates a host SIGSEGV, while memory disclosure through grooming is described as possible rather than demonstrated. This issue is fixed in version 1.18.

Proof-of-concept code is published

Public PoC

Signals come from Exploit-DB, Metasploit, Nuclei and published proof-of-concept repositories. Their absence means nothing was found, not that nothing exists.

Assessment

CVSS
7.9 (v3.1)
Severity
High
EPSS
0.21% chance of exploitation in the next 30 days
Known exploited
Not listed in CISA KEV
Exploit availability
Public PoC
Published
30 October 2026
Last updated
2 November 2026
Affected
libriscv · libriscv
Assigner
GitHub_M

CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H

At the source

References

Community proofs of concept

No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.

Submit a proof of concept
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-62958