Katalog CVE

CVE-2026-62958

WysokieCVSS 7.9
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.21%

Percentyl 11 - wyżej niż 11% wszystkich znanych CVE

Streszczenie

libriscv przed wersją 1.18 pozwala spreparowanemu plikowi ELF na wywołanie odczytów poza granicami bufora w emulatorze hosta. Funkcje serialize_execute_segment i lookup ufają przesunięciom i rozmiarom sekcji bez weryfikacji względem rozmiaru pliku, co może prowadzić do SIGSEGV lub ujawnienia pamięci hosta. Podatność została naprawiona w wersji 1.18.

Ocena ryzyka

Atakujący może spowodować awarię emulatora lub potencjalnie ujawnić pamięć hosta poprzez odpowiednie ułożenie pamięci. Dotyczy to środowisk uruchamiających niezaufane pliki ELF w libriscv.

Rekomendacja

Zaktualizuj libriscv do wersji 1.18 lub nowszej. Unikaj uruchamiania niezaufanych plików ELF w emulatorze.

Powiązane podatności

Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS