PT-2026-134209

CVE-2026-62958

·

Published

2026-10-30

·

Updated

2026-10-30

Description by

CVSS 3.1
7.9
High
MetricsAV:L/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H
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<W>::binary loader checks PT LOAD program-header bounds, but Memory<W>::serialize execute segment trusts section-header sh offset and sh size when locating .text without verifying the file range against m binary.size(); Memory<W>::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 create execute segment(), 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.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾