CVE-2026-59141
JSON

9.1critical

Data::RadixTree::Shared versions before 0.02 for Perl allow an out-of-bounds read via unvalidated node and arena indices in rdx_find_locked

Severity
9.1critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.34% (higher than 29% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CPANSec

Description

Data::RadixTree::Shared versions before 0.02 for Perl allow an out-of-bounds read via unvalidated node and arena indices in rdx_find_locked. The attach-time validator rdx_validate_header checks the header scalars and region layout against the file size, but does not validate the node records it then trusts. rdx_find_locked indexes nodes[cur].children[k] and reads each node's label_off and label_len raw from the mmap'd segment, none bounded against the node count or the arena size. A local peer that can write the backing file can leave the header valid while poisoning the node records, so a lookup dereferences an out-of-bounds node or arena index, reading adjacent memory or crashing the process.

Affected

Product or packageVersionsReported by
Data-RadixTree-Sharedbefore 0.02CVE List

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

Data::RadixTree::Shared versions before 0.02 for Perl allow an out-of-bounds read via unvalidated node and arena indices in rdx_find_locked. The attach-time validator rdx_validate_header checks the header scalars and region layout against the file size, but does not validate the node records it then trusts. rdx_find_locked indexes nodes[cur].children[k] and reads each node's label_off and label_len raw from the mmap'd segment, none bounded against the node count or the arena size. A local peer that can write the backing file can leave the header valid while poisoning the node records, so a lookup dereferences an out-of-bounds node or arena index, reading adjacent memory or crashing the process.

NVD (es)

Las versiones de Data::RadixTree::Shared anteriores a la 0.02 para Perl permiten una lectura fuera de límites a través de índices de nodo y arena no validados en rdx_find_locked. El validador en tiempo de adjunción rdx_validate_header comprueba los escalares del encabezado y la disposición de la región contra el tamaño del archivo, pero no valida los registros de nodo en los que luego confía. rdx_find_locked indexa nodes[cur].children[k] y lee label_off y label_len de cada nodo en bruto del segmento mapeado en memoria, ninguno acotado contra el recuento de nodos o el tamaño de la arena. Un par local que puede escribir el archivo de respaldo puede dejar el encabezado válido mientras envenena los registros de nodo, por lo que una búsqueda desreferencia un índice de nodo o arena fuera de límites, leyendo memoria adyacente o bloqueando el proceso.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-59141 changed 2026-07-22CVE Terms of Use
NVDCVE-2026-59141 changed 2026-10-24Public domain