PT-2026-62051 · Egor · Data::Ringbuffer::Shared
CVE-2026-59144
·
Publicado
2026-07-21
·
Atualizado
2026-07-21
CVSS v3.1
9.8
Crítica
| Vetor | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Data::RingBuffer::Shared versions before 0.04 for Perl allow a stack buffer overflow via an unvalidated elem size in ring read seq.
The attach-time validator ring validate header checks the capacity-overflow and total size consistency of the header but never caps elem size against the destination size. ring read seq does memcpy(out, ring slot(h, seq), elem size) with elem size read raw from the mmap'd segment, copying into a fixed 8-byte destination scalar. An elem size larger than 8 bytes writes past the destination.
A local peer that can write the backing file can leave the header valid while setting a large elem size, so the next read copies a file-controlled length into the fixed 8-byte stack buffer, corrupting adjacent stack frames.
Correção
Stack Overflow
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Data::Ringbuffer::Shared