CVE-2026-59144

Critical

Description

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductData::RingBuffer::Shared
PublishedJul 21, 2026
First seenJul 21, 2026
Weakness typeCWE-121CWE-121

How to fix

Update
  • EGOR Data::RingBuffer::Shared0.04 or later

Affected products

ProductAffected versionsFixed in
EGOR Data::RingBuffer::Sharedv < 0.040.04

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.